~/talk

Simple Solutions for High Performance: StaticFlatMap

Talkat CppCon 2017 · 2017-09-24..09-29· [frontend-architecture]
links:none on file
slides:none on file

Claim: replacing std::map with a tiny specialized container yields huge practical wins. Implementation is a StaticFlatMap built as a sorted array with binary search and published on GitHub. Measured copy time drops from about 25 µs to <1 µs, iteration and cache locality are much faster, lookup stays logarithmic, inserts/removes and resizing are expensive, and it requires known fixed keys and small total size. Use when copies/iteration dominate.

AI-written summary · about

~/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.