Decision Workspace
sampling-tree vs orx-tree vs trie
Side-by-side comparison of Rust crates
35
sampling-tree
growingv0.1.0
A simple sampling tree implementation for sampling discrete distributions with sparse dynamic updates. This allows us to sample efficiently from a distribution given the relative importance of each datapoint. Construction time is O(n), updating is O(log(n)), and sampling is O(log(n)). The memory footprint is no more than twice the size of `n*std::mem::size_of::<T>()` where `T` is weight datatype.
60
orx-tree
stablev2.2.0
A beautiful tree 🌳 with convenient, efficient, parallelizable growth, mutation and traversal features.
59
trie
growingv0.3.0
A highly general and customizable trie library
Core Metrics
| sampling-tree | orx-tree | trie | |
|---|---|---|---|
| Health Score | 35 | 60 | 59 |
| Total Downloads | 1.4K | 15.6K | 11.4K |
| 30d Downloads | 6 | 1.6K | 42 |
| Dependents | 0 | 8 | 3 |
| Releases | 1 | 17 | 7 |
| Last Updated | 504d ago | 61d ago | 25d ago |
| Age | 1y 4m | 1y 2m | 11y |
Health Breakdown
sampling-tree
Maintenance
2
Quality
14
Community
5
Popularity
4
Documentation
10
orx-tree
Maintenance
16
Quality
18
Community
9
Popularity
5
Documentation
12
trie
Maintenance
13
Quality
16
Community
10
Popularity
5
Documentation
15
Technical Details
| sampling-tree | orx-tree | trie | |
|---|---|---|---|
| Version | 0.1.0 | 2.2.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 5 | 14 | 1 |
| Crate Size | 7KB | 113KB | 28KB |
| Features | 0 | 4 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.88 | 1.85 |
| Owners | 1 | 1 | 3 (team) |
Links
Quick Verdict
- •orx-tree leads with a health score of 60/100, but none of the options score above 80.
- •⚠sampling-tree has not been updated in over a year.
- •sampling-tree, trie are pre-1.0 — API may change.