Decision Workspace
smallperm vs lazy-shuffle vs permutation_iterator
Side-by-side comparison of Rust crates
40
smallperm
experimentalv0.1.0
High-performance pseudo-random permutations using Feistel networks with O(1) memory and O(1) time per element
47
lazy-shuffle
experimentalv0.0.1
Lazy Fisher-Yates shuffle iterator - yielding random permutations without allocating the full sequence
45
permutation_iterator
growingv0.1.2
A Rust library for iterating over random permutations using O(1) (i.e. constant) space.
Core Metrics
| smallperm | lazy-shuffle | permutation_iterator | |
|---|---|---|---|
| Health Score | 40 | 47 | 45 |
| Total Downloads | 18 | 13 | 325.3K |
| 30d Downloads | 3 | 13 | 23.8K |
| Dependents | 0 | 0 | 11 |
| Releases | 1 | 1 | 3 |
| Last Updated | 74d ago | 10d ago | 2294d ago |
| Age | 2m | 10d | 6y 3m |
Health Breakdown
smallperm
Maintenance
9
Quality
13
Community
6
Popularity
2
Documentation
10
lazy-shuffle
Maintenance
12
Quality
16
Community
6
Popularity
1
Documentation
12
permutation_iterator
Maintenance
3
Quality
15
Community
8
Popularity
7
Documentation
12
Technical Details
| smallperm | lazy-shuffle | permutation_iterator | |
|---|---|---|---|
| Version | 0.1.0 | 0.0.1 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 4 | 2 | 2 |
| Crate Size | 15KB | 8KB | 14KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2018 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lazy-shuffle leads with a health score of 47/100, but none of the options score above 80.
- •permutation_iterator has the most downloads (325.3K), suggesting wider adoption.
- •⚠ permutation_iterator has not been updated in over a year.