openacid/slim
Surprisingly space efficient trie in Golang(11 bits/key; 100 ns/get). observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 2769
- days_rel: n/a
- days_push: 10
- n_releases_24m: 0
Adoption not part of the score
1923 stars · 100 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Slim is a Go library providing space-efficient data structures, most notably SlimTrie, a compacted trie that uses only about 11 bits per key with ~100 ns lookups. It serves as a minimized in-memory index for locating data stored externally on disk or over the network, with serialization support for persistence and transport.
Use cases
- index huge on-disk key-value stores with minimal memory
- build a sparse in-memory index over external data
- perform range scans over sorted keys with low memory overhead
- store a compact set of keys as a filter in memory
- persist a compact index to disk or serialize it for transport
- reduce memory footprint of key lookup structures in Go services
When to choose
- you need to index millions or billions of keys in limited memory
- your data lives on disk and you only need to know where it is
- you want a faster, more compact alternative to hash maps or B-trees for static key sets
- you need a serializable, stable-memory index structure in Go
When to avoid
- your key set changes frequently, since the trie is built for mostly static data
- you need rich per-key values stored in memory rather than just locations
- you are not working in Go
- you need dynamic insert/delete-heavy workloads with guaranteed latency
Facets
library · maturity stable
search-engine serialization developer-tools databases performance developer-tools go cross-platform trie compact-data-structures memory-efficient index key-value algorithms
2 sources
- readme: https://github.com/openacid/slim · fetched 2026-08-28 · fd4b87dd05ae
- homepage: https://openacid.github.io/ · fetched 2026-08-29 · a841b0a78368
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openacid/slim | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem