allocator
allocator copied to clipboard
optimize flushing the thread cache to multiple arenas
It is currently O(n_arenas * n_slots) when it could be O(n_slots). It's likely that the extra seeks over the list aren't a big deal, but it would be nice to eliminate this.