martinus/unordered_dense
A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 6
- age_days: 1531
- days_rel: 17
- days_push: 10
- n_releases_24m: 8
Adoption not part of the score
1457 stars · 116 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A fast, densely stored C++17 hashmap and hashset library based on robin-hood hashing with backward shift deletion. It provides drop-in replacements for std::unordered_map and std::unordered_set that are typically much faster, plus segmented variants with lower peak memory usage.
Use cases
- replace std::unordered_map with a faster hashmap
- speed up hash set lookups in C++ code
- store hash maps densely to reduce memory usage
- get stable references on insert with segmented_map
- use a header-only hash table with no dependencies
When to choose
- you need faster unordered containers than the STL and can tolerate weaker iterator stability
- you want a header-only, dependency-free C++17 container library
- memory locality and iteration speed matter more than pointer stability
When to avoid
- you require full iterator and reference stability across rehashing and deletion
- you need exact std::unordered_map API compatibility in every detail
Facets
library · maturity stable
caching developer-tools performance developer-tools cpp cross-platform hashmap hashset robin-hood header-only stl-containers cpp17 data-structures algorithms
1 source
- readme: https://github.com/martinus/unordered_dense · fetched 2026-08-28 · b777275adcca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| martinus/unordered_dense | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="martinus/unordered_dense")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem