3 ms·
So, the question I have is, should I switch my projects back to jemalloc? Are there are guidelines for determining where it makes sense and where it doesn't? (O
by winstonewert 8y ago
So, the question I have is, should I switch my projects back to jemalloc? Are there are guidelines for determining where it makes sense and where it doesn't? (Obviously to get the fully correct answer for my project, I should benchmark, but how do I know if its even worth going to the effort of that?)
- nickbee 8y agoIt depends. In the gamedev industry, we noticed performance improvements when switching the allocator. But “should” is relative. You probably won’t get a 2x boost from it. But you might notice some improvements. It’s worth trying if you can test it quickly. Software best practices are like flossing: good in the long term, but probably not crucial to keeping your bite.
- majewsky 8y agoI'm not incredibly familiar with gamedev, but I would expect most allocations in games to be performed by small-object allocators on top of the general-purpose allocator, so the choice of general-purpose allocator should not make that much of a difference, should it?