News for hackers. Stuff that matters.
Re:Speed memory access by arranging data to take advantage o... by jaredlwong on Monday April 07, 2014 @03:28AM (#7545085)
Alignment is another key the author forgot to mention. Cache aligning data is seriously important, even if it means padding stuff like crazy. Caches are pretty big, but having to load two different cache lines and do some bit trickery is a real killer.

Also, if you really want performance, go parallel. Cilk is amazing and there are forks of both gcc and clang with cilk. Cilk is seriously awesome.

Re:Speed memory access by arranging data to take advantage o... by deletes on Monday April 07, 2014 @03:41AM (#7545120)
Of course that doesn't apply to games anymore but to high performance computing. Systems for gaming vary too much for that to be of any importance. Maybe if you are doing it for the consoles, but then you have to optimize each individually.