2 ms·
Any moderately performance sensitive code in C++, assuming it needs allocations at all will use a dedicated allocator. While it is hard to beat existing genera
by gpderetta 8y ago
Any moderately performance sensitive code in C++, assuming it needs allocations at all will use a dedicated allocator.
While it is hard to beat existing general purpose allocators in all the scenarios, it is easy for specific use cases.
- kjeetgill 8y agoTrue but these approaches in both C++ and Java start to converge: Arena allocation vs Pooling/unsafe. The question is, how annoying is your performance insensitive code?