Re:IdTech 4, 15% frame rate increase through semiautomatic p...
by nitrogen on Tuesday October 30, 2012 @06:52PM
(#4720139)
Even under single-threaded applications, with a custom allocator that suits your workload, it's possible to get significant speed boosts over the system malloc. One of the assignments I enjoyed back in college was writing a memory allocator. By the time I was done optimizing (including replacing all structs with raw pointer arithmetic using #defines), IIRC I was getting over 10000 single-threaded allocations per second vs. ~3000 from malloc().
[ Parent
| on HN ]
There are no comments on this comment yet.