Decision Workspace
sequence-map vs litemap vs nodit
Side-by-side comparison of Rust crates
Implements a map of unsigned 64-bit keys into strings. The map is optimized for creating it once, and then reading many times. The struct `Builder` is used to build the map, and the struct `Map` is used for lookups. The special property of the implementation is that it encodes all the data needed for the lookup in a single sequence of bytes. This makes it rather interesting for dynamic loading of data that can then be placed in an operating system's read only memory. The internal structure requires no decoding when it is loaded (say from a file).
A key-value Map implementation based on a flat, sorted Vec.
This crate provides Discrete Interval Tree Data-Structures, which are based off BTreeMap.
Core Metrics
| sequence-map | litemap | nodit | |
|---|---|---|---|
| Health Score | 32 | 70 | 48 |
| Total Downloads | 1.7K | 639.6M | 221.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 398 | 4 |
| Releases | 1 | 20 | 7 |
| Last Updated | 2337d ago | 57d ago | 357d ago |
| Age | 6y 4m | 5y 7m | 2y 9m |
Health Breakdown
Technical Details
| sequence-map | litemap | nodit | |
|---|---|---|---|
| Version | 0.1.0 | 0.8.3 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | Unicode-3.0 | MIT |
| Dependencies | 2 | 10 | 5 |
| Crate Size | 12KB | 35KB | 34KB |
| Features | 0 | 6 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.82 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •litemap leads with a health score of 70/100, but none of the options score above 80.
- •litemap is depended on by 398 crates — strongest ecosystem trust.
- •⚠ sequence-map has not been updated in over a year.