Search code examples
cperformanceimplementationheapalloc

(C) Implementation tactics for heap allocators?


Where are some good resources for looking at the pros/cons of different ways of implementing heap allocators? Resources touching on efficiency (fragmentation, throughput, etc) are preferred. I am NOT looking for simple code repositories.

edit:

I'm not really interested in the philosophical grounding of this wiki. As such, I don't really want to get into 'why' I'm interested in this. Regardless of the underlying intentions/problems/etc, this information exists, so if you know of any good resources, please link to them here!


Solution

  • This is a very old problem, and to get a comprehensive view you will have to dig through the research literature. (I'm not aware of a good textbook treatment.)

    A few places to start:

    This one is worth spending a day in the library. Yes, a big building full of paper—the problem is that old.