3 ms·
Slab Allocators, as described by Bonwick (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.29.4759 http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.
by ori_b 17y ago
Slab Allocators, as described by Bonwick (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.29.4759 http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.29.4...) if I'm allocating lots of same-size objects. Other than that, I mainly stick to the system malloc(), or something specifically optimized for the task at hand.