~/talk

Writing Cache-Friendly C++

TalkinGermanat Meeting C++ 2018 · 2018-11-15..11-17· [web-performance]
links:none on file
slides:none on file

Shows that memory layout is the main determinant of C++ performance by measuring a custom memory-access benchmark and using sampling/instrumentation to compare std::vector versus alternative data layouts. Presents concrete techniques — contiguous storage, allocation strategies, prefetching and cache-line-aware organization — and reports empirical throughput numbers that highlight large latency jumps when the working set crosses cache levels.

AI-written summary · about

  1. 0:00Introduction
  2. 12:45CPU caches overview
  3. 24:40Linear access and containers
  4. 35:57Cache misses explained
  5. 43:07Data design pitfalls
  6. 48:37Cache optimization pitfalls
  7. 51:02Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.