Mercurial
diff mrjunejune/src/blog/optimizing-data-structures/index.md @ 169:295ac2e5ec00
[MrJuneJune] Created separate target for generating html from md.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 19 Jan 2026 17:33:18 -0800 |
| parents | 65e5a5b89a4e |
| children |
line wrap: on
line diff
--- a/mrjunejune/src/blog/optimizing-data-structures/index.md Mon Jan 19 16:29:02 2026 -0800 +++ b/mrjunejune/src/blog/optimizing-data-structures/index.md Mon Jan 19 17:33:18 2026 -0800 @@ -1,3 +1,8 @@ +--- +title: Optimizing Data Structures for Performance +description: Understanding how memory layout affects cache performance in C++ games, with examples of pointer indirection and contiguous data structures. +--- + ### Optimizing Data Structures for Performance In my professional experience as a full-stack engineer, I primarily work with languages like Python, JavaScript, and Ruby, which don’t provide strict control over memory management. Contract work requiring languages like C or C++ is rare, as most clients prefer "modern" languages that prioritize ease of use over low-level control. Even on the few occasions when I did write C or C++ code, my focus was not on performance optimization. However, I recently observed some C++ code that changed my perspective.