C++Now 2018: You Can Do Better than std::unordered_map: New Improvements to Hash Table Performance
http://cppnow.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: http://cppnow.org/history/2018/talks/ — The hash table is probably the most important data structure. Because of that importance, there is a large zoo of possible implementations with design trade-offs. The standard hash table, std::unordered_map, traded off performance in order to get backwards compatibility with std::map. Which was probably a good choice, but it does leave us with a lot of hash tables that are slower than necessary, while also using more memory than necessary. This talk is about replacements for std::unordered_map. How they work, why they are faster, and when you should choose which. Topics include linear probing with Robin Hood Hashing, Google's new trick of using SIMD instructions to look at 16 elements at a time, and optimizations for node based containers, because they can actually be really fast. I will also talk about recent improvements to hash table performance. Little tricks that shave nanoseconds from table lookup times. In an environment that's already had decades worth of micro-optimizations, it's fascinating to watch as people come up with inventive new ways to keep pushing performance. — Malte Skarupke Malte is an AI programmer at Avalanche Studios in New York. In his free time he likes to optimize algorithms. He blogs at www.probablydance.com — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com --- *--* ---

CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”

Unlocking Modern CPU Power - Next-Gen C++ Optimization Techniques - Fedor G Pikus - C++Now 2024

C++Now 2017: Daniel Pfeifer “Effective CMake"

The Cost of Concurrency Coordination with Jon Gjengset

CppCon 2018: Fedor Pikus “Design for Performance”

Data-Oriented Demo: SOA, composition

code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care

Building the PERFECT Linux PC with Linus Torvalds

Something is jamming GPS over Europe. Here's what we found

CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"

Conan O’Brien Delivers the Commencement Address | Harvard Commencement 2026

They Lied to You About AI (This Study Proves It)

Remove All Negative Energy | Attract Miracles & Good Luck | 7 Chakra Balance & Aura Cleansing

Back to Basics: Move Semantics (part 1 of 2) - Klaus Iglberger - CppCon 2019

CppCon 2014: Mike Acton "Data-Oriented Design and C++"

CppCon 2018: Alan Talbot “Moving Faster: Everyday efficiency in modern C++”

A Conversation with Demis Hassabis, Co-Founder and CEO of Google DeepMind

CppCon 2016: Timur Doumler “Want fast C++? Know your hardware!"

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

