~/talk

So You Think You Can Hash

Talkat CppCon 2024 · on Monday, 2024-09-16· at 14:00· Cottonwood 8/9, 6700 North Gaylord Rockies Boulevard· [databases]
slides:none on file

Claims a concrete API: repackaged hashers with init consume finalize stages, and a uniform hash_append protocol so aggregate types contribute salient bits without leaking the numeric algorithm. Shows that std::hash typically uses fnv 1A, demonstrates removing ad-hoc hash_combine, provides a templated wrapper that plugs into unordered_map and swaps algorithms (e.g., SipHash/Murmur variants) for controlled benchmarking framework experiments and comparison.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:34Hashing fundamentals
  3. 7:12Challenges with composite types
  4. 13:27Limitations of std::hash and combine
  5. 23:24Repackaging the hashing algorithm
  6. 28:24Recursive hash append pattern
  7. 40:24Framework and benchmarking
  8. 44:27Parallels with Rust's hashing
  9. 55:56Conclusion and takeaways
~/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.