4 ms·
Sometimes a well placed "placement new" is enough. Memory pools are also nice, but at least for my work we ditched them again once the Windows allocator became
by archi42 4y ago
Sometimes a well placed "placement new" is enough. Memory pools are also nice, but at least for my work we ditched them again once the Windows allocator became faster.
(I can count the times I did either of these on one hand, but of course this depends a lot on the code your working on).