~/talk

“Colonies, performance and why you should care"

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp]
links:none on file
slides:none on file

An unordered container called plf::colony provides pointer-stable elements that are unaffected by inserts or erases, reuses freed slots via a stack and frees empty blocks to the OS, trading contiguous layout for chained blocks. It implements a jump-counting skipfield to make iterator ++ O(1) without branch-heavy boolean scans. Benchmarks show colony wins for medium–high modification workloads (better than vector/deque), saving memory dramatically—reported ~34×, ~172× and ~340× less at 1%, 5% and 10% per-frame churn—and a companion plf::stack boosts push/pop speed.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:23Game development and vectors
  3. 3:49Limitations of std::vector
  4. 5:08Analyzing game data requirements
  5. 7:44Memory and performance constraints
  6. 10:08Common vector workarounds
  7. 12:12Introducing the Colony container
  8. 14:45Colony implementation details
  9. 17:55Jump counting skip field
  10. 22:19Algorithm comparisons
  11. 27:06Benchmarking raw performance
  12. 32:11Simulated game scenarios
  13. 38:13Colony use cases summary
  14. 39:29The future of software performance
  15. 43:52Q&A
~/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.