View analytic
Wednesday, September 27 • 4:45pm - 5:45pm
Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step

Log in to save this to your schedule and see who's attending!

Hash tables consume a large volume of both compute resources and memory across Google's production system. The design for hash tables in C++ traces its origins to the SGI STL implementation from 20 years ago. Over these years, computer architecture and performance has changed dramatically and we need to evolve this fundamental data structure to follow those changes. This talk describes the process of design and optimization that starts with std::unordered_map and ends with a new design we call "SwissTable", a 2-level N-way associative hash table. Our implementation of this new design gets 2-3x better performance with significant memory reductions (compared to unordered_map) and is being broadly deployed across Google.


Matt Kulukundis

Senior Software Engineer, Google

Wednesday September 27, 2017 4:45pm - 5:45pm
Meydenbauer TBA #4 Meydenbauer Center
Feedback form isn't open yet.