3 ms·
Pooling and in-place reuse are two different things, to be sure. This was a fun thing I remember writing: https://github.com/newobj/ffwd/blob/master/Src/Core/S
by newobj 11y ago
Pooling and in-place reuse are two different things, to be sure.
This was a fun thing I remember writing: https://github.com/newobj/ffwd/blob/master/Src/Core/Std/Allocator.h https://github.com/newobj/ffwd/blob/master/Src/Core/Std/Allo... When returned to the pool, each object used the first 4 bytes of itself to point to the next free one in a list, so there was no additional overhead.