Original Post
In a course about Computer Architecture, there was a chapter about the Cache Concept today, and the professor talked a bit about possible source code optimizations to use the cache at it's best: declare variables you often use at the same time together so that the compiler will put them next to each other so they'll be cached together, declare functions that call each other often together so that the program itself can also be cached as much as possible, and, when working on large blocks of memory, do all operations on small chunks, chunk by chunk, so that these can be cached too. By doing similar optimizations, you can get up to 10x speed increase, and 100x less power consumptions (important when doing it for GSM's and PDA's and stuff) I'm just wondering, do you game developers keep this stuff in mind all the time while coding games?