Get introduced to the concepts we will learn in this chapter.

After reading the previous chapters, it should no longer come as a surprise that the way we handle memory can have a huge impact on performance. The CPU spends a lot of time shuffling data between the CPU registers and the main memory (loading and storing data to and from the main memory). CPU uses memory caches to speed up access to memory, and programs need to be cache-friendly in order to run quickly.

Get hands-on with 1200+ tech skills courses.