2 ms·
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/Source/PlexAlloc/Ple
by Const-me 3y 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/Source/PlexAlloc/Plex.hpp 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.