News for hackers. Stuff that matters.
Re:Arena Allocator Tips and Tricks by gpderetta on Wednesday September 27, 2023 @11:30AM (#37676125)
std::deque, although it would be nice to use an implementation where you can control the block size.
Re:Arena Allocator Tips and Tricks by Const-me on Wednesday September 27, 2023 @11:40AM (#37676295)
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.