cornelk/hashmap
A Golang lock-free thread-safe HashMap optimized for fastest read access. observed · 2026-08-28
Health v2 · maintenance only
38/100
- Activity 34
- Release rhythm 8
- 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: n/a
- age_days: 3683
- days_rel: n/a
- days_push: 399
- n_releases_24m: 0
Adoption not part of the score
1877 stars · 121 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library providing a lock-free, thread-safe HashMap optimized for fastest read access. It is not a general-purpose map and has slower write performance, making it best for read-heavy concurrent workloads.
Use cases
- concurrent read-heavy key-value lookups in Go
- replace sync.Map for faster reads
- count concurrent events like URL requests with GetOrInsert
- share a map across goroutines without mutex locks
- cache lookups where reads vastly outnumber writes
When to choose
- reads dominate writes and read speed is critical
- you need thread safety without mutex overhead
- numeric or string keys with simple value semantics
When to avoid
- write-heavy workloads
- you need general-purpose map features like iteration ordering or deletion-heavy patterns
- simple single-threaded usage where a plain Go map suffices
Facets
library · maturity active
caching concurrency developer-tools performance go cross-platform hashmap lock-free thread-safe concurrent-map read-optimized
1 source
- readme: https://github.com/cornelk/hashmap · fetched 2026-08-28 · 2e2d9d501d2f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cornelk/hashmap | main | 38 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem