Comment by Const-me
3 years ago
Here’s a simple non-standard allocator for C++ I used a few times in the past: https://github.com/Const-me/CollectionMicrobench/blob/master...
The block size is controlled with a template argument, the number must be a compile-time constant.
No comments yet
Contribute on Hacker News ↗