3 ms·
Fun fact I literally implemented a memory pool since most of the allocs were on the same sized structs and did worse than the os allocator.
by AnotherGoodName 2y ago
Fun fact I literally implemented a memory pool since most of the allocs were on the same sized structs and did worse than the os allocator.
- vdupras 2y agoThat's possible. Maybe that such OS "unfairly" stacks custom options against its malloc implementation. But I wouldn't be so sure to claim that such a pool, implemented in assembler on an OS that leaves everything to you, wouldn't outperform the os allocator you refer to. After all, there is fundamentally less information to manage.