# alphadose/haxmap

Fastest and most memory efficient golang concurrent hashmap

Repository: https://github.com/alphadose/haxmap
Canonical: https://ross.abutalabs.com/products/haxmap
Language: Go
License: MIT
License Family: permissive
Topics: concurrent, fast, go, golang, hashmap, lock-free, map, memory-efficient, thread-safe
Last push: 2024-10-27T06:58:37+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1487, "days_push": 675, "days_rel": 675, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1037, forks 51 (observed 2026-08-28T04:03:19.517618+00:00)

## What it is
HaxMap is a fast, memory-efficient, lock-free concurrent hashmap library for Go, built on xxHash and Harris lock-free lists. It offers a generic key-value API with better performance than sync.Map and cornelk-hashmap in benchmarks.

## Use cases
- fast concurrent key-value storage in go
- replace sync.Map with a faster hashmap
- thread-safe map with low memory allocations
- high-throughput concurrent reads and writes
- generic typed concurrent map for golang

## When to choose
- you need maximum concurrent map performance in Go
- memory allocations per operation matter
- you want a generic, typed concurrent map API

## When to avoid
- you need persistence or ordering guarantees
- your workload is single-threaded where a plain map suffices
- you need a distributed or sharded map across processes

## Facets
- artifact type: library
- maturity: active
- function: concurrency, caching, developer-tools
- domain: developer-tools, performance
- platform: go, cross-platform
- tags: hashmap, lock-free, thread-safe, concurrent-map, xxhash, memory-efficient, algorithms

## Member repositories
- alphadose/haxmap (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.517618+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:22.100267+00:00, confidence not recorded.
  - readme: https://github.com/alphadose/haxmap (fetched 2026-08-28T04:03:19.517618+00:00, sha 9e98700e5e4d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
