Explore advanced techniques for improving hash tables and associative containers in C++ through this conference talk from CppNow 2022. Delve into three novel avenues of enhancement: modeling associative containers using Generic Programming, optimizing performance with alternative API designs, and implementing compile-time "perfect hash tables". Learn how to create a more abstract "Lookup" concept that decouples mapping needs from specific data structures, discover the benefits of storing keys and mapped values separately, and understand how to leverage phased hashing functions for constexpr perfect hash tables. Gain insights from real-world application of these techniques in a large-scale, globally-used codebase.
Overview
Syllabus
Rehashing Hash Tables And Associative Containers - Eduardo Madrid - CppNow 2022
Taught by
CppNow