rustwasm / wee_alloc

The Wasm-Enabled, Elfin Allocator
Mozilla Public License 2.0
667 stars 49 forks source link

Investigate making the free list doubly linked #27

Open fitzgen opened 6 years ago

fitzgen commented 6 years ago

Summary

Investigate rounding up allocations to at least two words, and making the free list doubly linked.

Motivation

This could simplify code, maybe shrink code size, and lessen fragmentation.

Details

Happy to mentor anyone who wants to try their hand at this!

manaskarekar commented 6 years ago

I would like to give this a shot! I've started looking through the code.

fitzgen commented 6 years ago

Great! Let me know if you run into any questions or anything. See also http://fitzgeraldnick.com/2018/02/09/wee-alloc.html for an overview of the design.

Note that #32 just changed things up a little bit, but the design largely remains the same.

manaskarekar commented 6 years ago

Hey @fitzgen sorry about the hiatus. I was thinking about jumping into this again, but just wanted to check if there are any updates to keep in mind?

Thanks!