Good Enough Memory Allocation
The Myrddin memory allocator is a very simple allocator. In 250 lines, without an optimizing compiler, it provides allocations with performance comparable to state of the art allocators like ptmalloc and jemalloc. When you throw threads into the mix, everything goes to shit.
The Architecture
The Code
The Benchmarks
provides allocations that, for single threaded applications are com