orlp/slotmap
Slotmap data structure for Rust observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 81
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2984
- days_rel: n/a
- days_push: 116
- n_releases_24m: 0
Adoption not part of the score
1350 stars · 92 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust library providing slot map containers (SlotMap, HopSlotMap, DenseSlotMap) that return persistent unique keys on insertion for O(1) access, insertion, and deletion. It also includes SecondaryMap and SparseSecondaryMap for attaching additional data to those keys.
Use cases
- store game entities with stable safe handles
- manage graph nodes without ownership issues
- need O(1) insertion, deletion, and lookup with stable keys
- attach secondary data to slot map keys
- replace index-based arenas with safe key-based storage
When to choose
- you need stable references to collection elements that survive insertions and deletions
- you are building games, ECS-like systems, or graph structures in Rust
- you want a well-tested, permissively licensed, widely used Rust crate
When to avoid
- you need ordered or sorted iteration by key
- you need key-value semantics with arbitrary user-defined keys rather than generated handles
- you are not working in Rust
Facets
library · maturity stable
developer-tools developer-tools rust slotmap arena data-structure stable-keys rust-library algorithms game-development
2 sources
- readme: https://github.com/orlp/slotmap · fetched 2026-08-28 · eb3e06aca2df
- registry_crates: https://crates.io/api/v1/crates/slotmap · fetched 2026-08-29 · 8e08ca37d101
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| orlp/slotmap | main | 69 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem