Basically, how do I know if the code I write will keep things in the cache vs using system memory?
That's what a cache is, right? It's on-board memory inside a microprocessor, isn't it?
Edit : What every programmer should know about memory, Part 1 [LWN.net]
This seems amazing to me.