Decision Workspace
aliasmethod vs probability vs histogram-sampler
Side-by-side comparison of Rust crates
36
aliasmethod
growingv0.4.0
Implementation of Walker's Alias method.
48
probability
growingv0.20.3
The package provides a probability-theory toolbox.
47
histogram-sampler
growingv0.5.0
Sampling from a distribution given by a histogram
Core Metrics
| aliasmethod | probability | histogram-sampler | |
|---|---|---|---|
| Health Score | 36 | 48 | 47 |
| Total Downloads | 11.6K | 1.4M | 50.4K |
| 30d Downloads | 170 | 18.3K | 108 |
| Dependents | 22 | 335 | 61 |
| Releases | 4 | 66 | 9 |
| Last Updated | 2425d ago | 1189d ago | 1743d ago |
| Age | 9y 7m | 11y 4m | 8y |
Health Breakdown
aliasmethod
Maintenance
2
Quality
15
Community
7
Popularity
5
Documentation
7
probability
Maintenance
6
Quality
11
Community
13
Popularity
7
Documentation
11
histogram-sampler
Maintenance
4
Quality
15
Community
11
Popularity
6
Documentation
11
Technical Details
| aliasmethod | probability | histogram-sampler | |
|---|---|---|---|
| Version | 0.4.0 | 0.20.3 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | Apache-2.0/MIT | MIT/Apache-2.0 |
| Dependencies | 1 | 4 | 1 |
| Crate Size | 4KB | 30KB | 11KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 6.1% | 0.0% |
| Edition | 2018 | — | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •probability leads with a health score of 48/100, but none of the options score above 80.
- •probability is depended on by 335 crates — strongest ecosystem trust.
- •⚠ aliasmethod, probability, histogram-sampler have not been updated in over a year.