4 ms·
So grab an fixed-size pool allocator. Malloc is very generic, and faster alternatives aren't limited to stack allocators. EDIT: Or do what the article does,
by MaulingMonkey 10y ago
So grab an fixed-size pool allocator. Malloc is very generic, and faster alternatives aren't limited to stack allocators.
EDIT: Or do what the article does, eliminate allocations that were straight up unnecessary (because they were unused, or over-eager deep copies)