News for hackers. Stuff that matters.
Re:Rust 1.32 released by winstonewert on Thursday January 17, 2019 @06:15PM (#18935581)
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?)
Re:Rust 1.32 released by nickbee on Thursday January 17, 2019 @06:22PM (#18935618)
It 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.

Re:Rust 1.32 released by majewsky on Friday January 18, 2019 @07:41AM (#18938880)
I'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?