Let me guess: SoA instead of AoS?
That's a classic optimisation, there's even an annotation for this in 'Jay' (well there will be when it will exist https://www.youtube.com/user/jblow888)
Re:The Handmade Manifesto
by sliverstorm on Friday August 21, 2015 @03:08PM
(#10099605)
Yes, that, but they also go beyond that. I found it today:
http://harmful.cat-v.org/software/OO_programming/_pdf/Pitfal...
Re:The Handmade Manifesto
by sliverstorm on Friday August 21, 2015 @03:06PM
(#10099592)
But it seems like the main theme is programming to the actual machine rather than the "frictionless vacuum" target machine that is oh-so-easy to assume. Like one of my favorite presentations, where a PS3 developer team details how simple choices in data structure arrangement got them orders of magnitude speedup because of how different arrangements interplay with the CPU caches. In OoO languages, it's easy to make a pathological cache virus.