Hacker GitHub

← All repos

martinus/unordered_dense

View on GitHub ↗ ★ 1,512 C++

A fast & densely stored hashmap and hashset

7 mentions on Hacker News by 5 people: 2 stories, 5 comments · first 2023-03-02 · latest 2025-11-28

Mentions per year 7 mentions · busiest year 2025 (4)
20082026
  1. Shoutout to unordered_dense, a drop-in replacement for C++ unordered_map that uses this: https://github.com/martinus/unordered_dense
    comment by optimalsolver · 2025-11-28 · in Experimenting with Robin Hood Hashing
  2. …here related to fast associative containers, like unordered map/set. This is the implementation - https://github.com/martinus/unordered_dense Combined with HFT CppCon talk that emphasizes the impact of node-based STL containers you may…
  3. …weeds of esoteric data structures and algorithms I think there's a few holes that aren't addressed: https://github.com/martinus/unordered_dense provides better replacements for unordered_map/set. The STL is missing B-trees and B-heaps, as…
  4. ▲ 2
    A Fast, Densely Stored Hashmap Based On Robin-Hood Backward Shift Deletion
    story by optimalsolver · 2025-03-25 · 0 comments
  5. ▲ 1
    unordered_dense: A Fast, Densely Stored Hashmap Based On Backward Shift Deletion
    story by optimalsolver · 2023-07-11 · 0 comments
  6. …the best performing ones in the above benchmark. [1] https://github.com/martinus/map_benchmark/ [2] https://github.com/martinus/unordered_dense/blob/main/includ... [3] https://github.com/ktprime/emhash Edit: I had the wrong link for [2]…
    comment by camel-cdr · 2023-04-02 · in Optimizing Open Addressing
  7. https://github.com/martinus/unordered_dense Check this one out, it's a successor to this idea. Boost also introduced a very performant flat_hash_map in 1.81