Decision Workspace
sparsemap vs roaring vs arity-bitmap
Side-by-side comparison of Rust crates
57
sparsemap
experimentalv5.8.2
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.
68
roaring
growingv0.11.5
A better compressed bitset - pure Rust implementation
57
arity-bitmap
experimentalv0.2.0
Fixed-width bitmaps (u8-u128, U256) indexed by niche integers, with a double-ended set-bit iterator
Core Metrics
| sparsemap | roaring | arity-bitmap | |
|---|---|---|---|
| Health Score | 57 | 68 | 57 |
| Total Downloads | 478 | 55.1M | 10.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 4.9K | 4 |
| Releases | 10 | 51 | 4 |
| Last Updated | 3d ago | 58d ago | 81d ago |
| Age | 4m | 11y 9m | 3m |
Health Breakdown
sparsemap
Maintenance
19
Quality
14
Community
6
Popularity
3
Documentation
15
roaring
Maintenance
15
Quality
14
Community
16
Popularity
8
Documentation
15
arity-bitmap
Maintenance
15
Quality
17
Community
8
Popularity
5
Documentation
12
Technical Details
| sparsemap | roaring | arity-bitmap | |
|---|---|---|---|
| Version | 5.8.2 | 0.11.5 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 6 | 3 |
| Crate Size | 44KB | 135KB | 17KB |
| Features | 3 | 4 | 8 |
| Yanked % | 20.0% | 2.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.77 | 1.90.0 | 1.92 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •roaring leads with a health score of 68/100, but none of the options score above 80.
- •roaring is depended on by 4.9K crates — strongest ecosystem trust.
- •roaring, arity-bitmap are pre-1.0 — API may change.