Decision Workspace
prefix-range vs prefix-trie vs ftree
Side-by-side comparison of Rust crates
39
prefix-range
growingv0.1.0
Compute bounds for prefix string queries for BTreeSet/BTreeMap::range
63
prefix-trie
growingv0.10.1
Prefix trie (tree) datastructure (both a set and a map) that provides exact and longest-prefix matches.
58
ftree
growingv1.3.0
A very fast fenwick tree implementation
Core Metrics
| prefix-range | prefix-trie | ftree | |
|---|---|---|---|
| Health Score | 39 | 63 | 58 |
| Total Downloads | 12.0K | 22.9M | 363.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 217 | 97 |
| Releases | 1 | 26 | 7 |
| Last Updated | 1000d ago | 77d ago | 278d ago |
| Age | 2y 9m | 3y 9m | 3y 3m |
Health Breakdown
prefix-range
Maintenance
1
Quality
16
Community
5
Popularity
5
Documentation
12
prefix-trie
Maintenance
15
Quality
14
Community
11
Popularity
8
Documentation
15
ftree
Maintenance
7
Quality
21
Community
10
Popularity
7
Documentation
13
Technical Details
| prefix-range | prefix-trie | ftree | |
|---|---|---|---|
| Version | 0.1.0 | 0.10.1 | 1.3.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 0 | 22 | 2 |
| Crate Size | 5KB | 217KB | 7KB |
| Features | 0 | 6 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65.0 | 1.81 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •prefix-trie leads with a health score of 63/100, but none of the options score above 80.
- •prefix-trie is depended on by 217 crates — strongest ecosystem trust.
- •⚠ prefix-range has not been updated in over a year.
- •prefix-range, prefix-trie are pre-1.0 — API may change.