Decision Workspace
ternary-tree vs ternary-tree-wasm vs prefix-trie
Side-by-side comparison of Rust crates
40
ternary-tree
growingv0.1.1
A Rust implementation of Ternary Search Trees, with no unsafe blocks
41
ternary-tree-wasm
growingv0.0.6
A simplified Wasm binding to ternary-tree crate
67
prefix-trie
growingv0.8.2
Prefix trie (tree) datastructure (both a set and a map) that provides exact and longest-prefix matches.
Core Metrics
| ternary-tree | ternary-tree-wasm | prefix-trie | |
|---|---|---|---|
| Health Score | 40 | 41 | 67 |
| Total Downloads | 14.6K | 8.1K | 2.1M |
| 30d Downloads | 45 | 8 | 264.2K |
| Dependents | 6 | 0 | 154 |
| Releases | 8 | 6 | 17 |
| Last Updated | 2265d ago | 2260d ago | 5d ago |
| Age | 7y 2m | 6y 2m | 3y 2m |
Health Breakdown
ternary-tree
Maintenance
4
Quality
16
Community
7
Popularity
5
Documentation
8
ternary-tree-wasm
Maintenance
7
Quality
15
Community
5
Popularity
5
Documentation
9
prefix-trie
Maintenance
18
Quality
15
Community
11
Popularity
8
Documentation
15
Technical Details
| ternary-tree | ternary-tree-wasm | prefix-trie | |
|---|---|---|---|
| Version | 0.1.1 | 0.0.6 | 0.8.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-3-Clause | BSD-3-Clause | MIT OR Apache-2.0 |
| Dependencies | 0 | 3 | 16 |
| Crate Size | 16KB | 5KB | 81KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | 1.71.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •prefix-trie leads with a health score of 67/100, but none of the options score above 80.
- •prefix-trie is depended on by 154 crates — strongest ecosystem trust.
- •⚠ ternary-tree, ternary-tree-wasm have not been updated in over a year.