This comprehensive benchmark evaluates various C and C++ hash tables, focusing on performance under different conditions, such as load factors and key-value sizes. Highlights include a comparison of common hash tables like absl::flat_hash_map, ankerl::unordered_dense, boost::unordered_flat_map, and std::unordered_map, among

29m read timeFrom jacksonallan.github.io
Post cover image
Table of contents
Introduction: Why Another Hash-Table Benchmark?Benchmarking SetupHash Tables BenchmarkedResultsAnalysisConclusion: Which Hash Table to Choose?Addendum: Verstable vs CC’s cc_mapAcknowledgmentsDiscussion

Sort: