greg7mdp/parallel-hashmap
A family of header-only, very fast and memory-friendly hashmap and btree containers. observed · 2026-08-28
Health v2 · maintenance only
68/100
- Activity 86
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 61.0
- age_days: 2741
- days_rel: 589
- days_push: 84
- n_releases_24m: 3
Adoption not part of the score
3211 stars · 311 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A family of header-only C++ hash map/set and btree containers that serve as fast, memory-friendly drop-in replacements for std::unordered_map, std::unordered_set, std::map, and std::set. Its parallel variants support high-concurrency access from multiple threads while keeping a low memory footprint.
Use cases
- replace std::unordered_map with a faster, lower-memory hashmap
- share a hash map across multiple threads with high concurrency
- store large key-value datasets with minimal memory overhead
- dump and reload a flat hash map to disk very quickly
- use a btree alternative to std::map and std::set
- forward declare map containers in headers without heavy includes
When to choose
- you need a drop-in C++11+ replacement for standard hash or ordered containers with better speed and memory usage
- your workload reads and writes a shared map from many threads
- you want header-only integration with no build step
- you need fast bulk serialization of trivially-copyable flat maps
When to avoid
- you can adopt C++20 and prefer the successor gtl library with ongoing feature development
- you need node-based guarantees or exotic allocator requirements beyond what phmap supports
- you rely on pointer-key forward declarations, which are not supported by phmap_fwd_decl.h
Facets
library · maturity maintenance
caching serialization concurrency developer-tools performance databases cpp cross-platform windows header-only hashmap btree drop-in-replacement multithreaded memory-efficient abseil-inspired algorithms linux macos
2 sources
- readme: https://github.com/greg7mdp/parallel-hashmap · fetched 2026-08-28 · 128a2f8dab0f
- homepage: https://greg7mdp.github.io/parallel-hashmap/ · fetched 2026-08-29 · be3636c6ae38
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| greg7mdp/parallel-hashmap | main | 68 |
For agents
markdown · JSON · MCP: product_card(name="greg7mdp/parallel-hashmap")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem