In this post, we are investigating a few common ways to decrease the number of memory accesses in your program.

In this post, we are investigating a few common ways to decrease the number of memory accesses in your program.
We try to answer two questions related to compiler optimizations: how can you help the compiler do a better job and when does it make sense to do the compiler optimizations manually.
We investigate what are the techniques your compiler employs to make your loop run faster.