C++Now 2018: You Can Do Better than std::unordered_map: New Improvements to Hash Table Performance
What it is
Malte Skarupke's C++Now 2018 talk on hash table performance, explaining why std::unordered_map is slow and memory hungry and presenting faster designs, including his bytell hash map.
Why Hacker News recommends it
Recommended as a thorough, well-regarded explanation of hash table design tradeoffs and why the standard container is a poor choice.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2021, last 2024
What HN commenters said
“See for a more comprehensive discussion, or the sibling threads here.”
Comprehensive discussion of why std::unordered_map is a poor tradeoff
MauranKilom, 2021-08 · Recommendation · in “JSON for Modern C++ version 3.10.0”
“Many videos on hash table are great. I found this one particularly good.”
Particularly good talk on hash table performance
ww520, 2024-10 · Recommendation · in “1BRC Coding Challenge: Nerd Sniping the Java Community”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, hash tables, unordered_map, data structures, performance
Also recommended by the same people
talkHow Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkВидео с мероприятий {speach! · 15 HN recommenders · 2017–2025
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkPreventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc)DevGAMM · 14 HN recommenders · 2020–2025
talk"Performance Matters" by Emery BergerStrange Loop Conference · 12 HN recommenders · 2019–2025
talkThe Thirty Million Line ProblemMolly Rocket · 11 HN recommenders · 2018–2024
talkCppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”CppCon · 9 HN recommenders · 2018–2026
talkErlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsAppErlang Solutions · 6 HN recommenders · 2014–2022
interviewHow Crash Bandicoot Hacked The Original Playstation | War Stories | Ars TechnicaArs Technica · 13 HN recommenders · 2020–2026