Decision Workspace
permutation_iterator vs hashed-permutation vs smallperm
Side-by-side comparison of Rust crates
45
permutation_iterator
growingv0.1.2
A Rust library for iterating over random permutations using O(1) (i.e. constant) space.
43
hashed-permutation
growingv3.0.2
A fast, instant-access way to permute a range of numbers
40
smallperm
experimentalv0.1.0
High-performance pseudo-random permutations using Feistel networks with O(1) memory and O(1) time per element
Core Metrics
| permutation_iterator | hashed-permutation | smallperm | |
|---|---|---|---|
| Health Score | 45 | 43 | 40 |
| Total Downloads | 325.3K | 16.1K | 18 |
| 30d Downloads | 23.8K | 26 | 3 |
| Dependents | 11 | 0 | 0 |
| Releases | 3 | 8 | 1 |
| Last Updated | 2294d ago | 1917d ago | 74d ago |
| Age | 6y 3m | 6y 6m | 2m |
Health Breakdown
permutation_iterator
Maintenance
3
Quality
15
Community
8
Popularity
7
Documentation
12
hashed-permutation
Maintenance
4
Quality
22
Community
3
Popularity
5
Documentation
9
smallperm
Maintenance
9
Quality
13
Community
6
Popularity
2
Documentation
10
Technical Details
| permutation_iterator | hashed-permutation | smallperm | |
|---|---|---|---|
| Version | 0.1.2 | 3.0.2 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | Apache-2.0 |
| Dependencies | 2 | 2 | 4 |
| Crate Size | 14KB | 7KB | 15KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •permutation_iterator leads with a health score of 45/100, but none of the options score above 80.
- •⚠ permutation_iterator, hashed-permutation have not been updated in over a year.
- •permutation_iterator, smallperm are pre-1.0 — API may change.