elliotchance/orderedmap
🔃 An ordered map in Go with amortized O(1) for Set, Get, Delete and Len. observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 92
- Release rhythm 92
- 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: 0.0
- age_days: 2484
- days_rel: 53
- days_push: 53
- n_releases_24m: 11
Adoption not part of the score
1026 stars · 77 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library providing an ordered map data structure that maintains insertion order with amortized O(1) Set, Get, Delete, and Len operations. It combines a native Go map with a linked list and supports Go 1.23 iterators for bidirectional traversal.
Use cases
- maintain insertion order of map keys in Go
- iterate a map in the order items were added
- get O(1) ordered map operations in Go
- convert an ordered map to a slice of keys or values
- reverse-iterate a map from newest to oldest entries
When to choose
- you need a Go map that preserves insertion order with high performance
- you want Go 1.23 range-over-func iterator support
- you need generics support with simple Set/Get/Delete semantics
When to avoid
- you only need an unordered map - use the built-in Go map
- you need concurrency-safe ordered maps without external locking
- you're on Go versions older than 1.17
Facets
library · maturity stable
data-science developer-tools developer-tools go ordered-map data-structures generics linked-list insertion-order algorithms
1 source
- readme: https://github.com/elliotchance/orderedmap · fetched 2026-08-28 · 53ee086ad747
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| elliotchance/orderedmap | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="elliotchance/orderedmap")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem