~/talk

Enhancing STL containers

Talkat CppCon 2015 · 2015-09-21..09-25· [software-architecture]
links:none on file
slides:none on file

Shows a custom container that keeps objects in a flat internal storage but swaps only integer indexes so reordering avoids moving payloads, implements iterator wrappers and a specialized swap so algorithms like std::sort work unchanged, measures on 10,000 elements of ~10 KB each with reverse+sort repeated 10 times and reports about 50x speedup on that benchmark, demonstrates iterator wrapper, specialized swap, and an alignment trick that gives ~20% improvement for tight byte loops.

AI-written summary · about

  1. 0:00Introduction to STL enhancements
  2. 3:43Object-oriented vs generic programming
  3. 9:31Problems with standard containers
  4. 15:01Index-based object storage solution
  5. 17:35Demo of performance improvements
  6. 23:58Implementation details
  7. 25:50Alex Stepanov's perspective
  8. 26:56Object-oriented container design
  9. 29:28Memory alignment optimization
  10. 33:34Future of STL enhancements
  11. 36:12Q&A and project invitation
~/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.