Decision Workspace
sparsemap vs roaring vs bitm
Side-by-side comparison of Rust crates
48
sparsemap
experimentalv5.1.0
A sparse, compressed bitmap with run-length encoding, optimized for long runs of consecutive bits. 100% safe Rust, no_std, zero dependencies; reads the C sparsemap library's serialized format.
67
roaring
growingv0.11.4
A better compressed bitset - pure Rust implementation
56
bitm
growingv0.5.2
The library for bit and bitmap (bit vector) manipulation.
Core Metrics
| sparsemap | roaring | bitm | |
|---|---|---|---|
| Health Score | 48 | 67 | 56 |
| Total Downloads | 64 | 41.7M | 781.3K |
| 30d Downloads | 0 | 1.8M | 28.0K |
| Dependents | 0 | 3.7K | 106 |
| Releases | 4 | 50 | 17 |
| Last Updated | 18d ago | 80d ago | 306d ago |
| Age | 1m | 11y 6m | 4y 4m |
Health Breakdown
sparsemap
Maintenance
12
Quality
13
Community
6
Popularity
2
Documentation
15
roaring
Maintenance
14
Quality
14
Community
16
Popularity
8
Documentation
15
bitm
Maintenance
9
Quality
15
Community
12
Popularity
7
Documentation
13
Technical Details
| sparsemap | roaring | bitm | |
|---|---|---|---|
| Version | 5.1.0 | 0.11.4 | 0.5.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 4 |
| Crate Size | 32KB | 135KB | 31KB |
| Features | 2 | 4 | 1 |
| Yanked % | 50.0% | 2.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.77 | 1.90.0 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •roaring leads with a health score of 67/100, but none of the options score above 80.
- •roaring is depended on by 3.7K crates — strongest ecosystem trust.
- •roaring, bitm are pre-1.0 — API may change.