A C++ implementation of a fast hash map and hash set using hopscotch hashing
gjvc
81 points
13 comments
June 26, 2026
Related Discussions
Found 5 related stories in 631.9ms across 14,015 title embeddings via pgvector HNSW
- Show HN: CipherStash Stack – Data Level Access Control in TS/JS dandraper · 11 pts · May 21, 2026 · 46% similar
- Show HN: cuTile Rust: Safe, data-race-free GPU kernels in Rust melihelibol · 59 pts · June 16, 2026 · 45% similar
- Show HN: Han – A Korean programming language written in Rust xodn348 · 141 pts · March 14, 2026 · 45% similar
- Bab: A hash function for content-addressable storage g0xA52A2A · 13 pts · June 21, 2026 · 44% similar
- Show HN: ContextCodeCache in Rust colwont · 11 pts · July 03, 2026 · 44% similar
Discussion Highlights (3 comments)
mgaunard
How does it compare to boost unordered flat map? Looks like the benchmarks were last updated in 2019.
jll29
google::dense_hash_map is faster than this new implementation according to their benchmark's diagram (google::dense_hash_map has the lowest runtime of all tested methods).
teo_zero
The concept is very similar to robin hood. In fact most of the performance charts show that the curves of hopscotch and robin hood are very close. I think I'd prefer robin hood as it's well known.