Skip to content

Radar ·

C++: Agner Fog’s guide to memory access

The publication recommends Chapter 9 of Agner Fog’s *Optimizing Software in C++*, focused on optimizing memory access. Here is a practical way to study the topic.

Chapter 9, “Optimizing Memory Access,” of Agner Fog’s *Optimizing Software in C++* is recommended for engineers interested in optimizing memory access in C++.

As you study the chapter, start by identifying a piece of code and the behavior you want to improve. Record a baseline performance measurement so you can compare results.

Examine the code’s memory access patterns and test one change at a time. Compare each result with the baseline and keep a record of changes and test conditions.

If you use an AI tool to study or apply the material, do not submit code, data, or internal organizational details without authorization. Remove sensitive information and follow your team’s data policies.

Original source: Guia de C++ de Agner Fog: otimização do acesso à memória

Curation · AgentLog

Get the essentials

Privacy, AI engineering and security in your inbox.

At most one digest per day, when there is news. Cancel at any time. We use your account's verified email.

Privacy

Looking for something else?DocumentationContact