~/talk

Fantastic Algorithms and Where To Find Them

Talkat CppCon 2017 · 2017-09-24..09-29· [c-and-cpp]
links:none on file
slides:none on file

Describes concrete, deployable techniques: Boyer-Moore majority and its 1/k generalization for heavy hitters used to throttle DOSy callers (variant run per five-minute interval, Gcov uses a counter trick that guarantees detection at ≥75% frequency); Morris traversal for O(1) stack inorder traversal and destruction that restores tree shape by threading predecessors; reservoir sampling implemented in BigGrep’s --sample flag and running in production for four years; and HyperLogLog for approx_count_distinct with m=2048 giving ~2% error.

AI-written summary · about

  1. 0:00Introduction to Algorithms
  2. 1:23Heavy Hitters Algorithm
  3. 8:25Frequency and Verification
  4. 11:42Memory Management Challenges
  5. 13:58Morris Traversal
  6. 20:41Reservoir Sampling
  7. 27:31HyperLogLog Introduction
  8. 36:01HyperLogLog Implementation
  9. 43:24Standard Library Algorithms
~/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.