Decision Workspace
drain_at_sorted_unchecked vs vecrem vs vec_mut_scan
Side-by-side comparison of Rust crates
40
drain_at_sorted_unchecked
growingv0.1.0
Terribly unsafe but highly efficient function that allows removing items from a vector with few moves.
42
vecrem
growingv0.1.0
Cursor-like structure for fast iterative removing of elements from a vec
45
vec_mut_scan
growingv0.5.0
Forward scan over a vector with mutation and item removal
Core Metrics
| drain_at_sorted_unchecked | vecrem | vec_mut_scan | |
|---|---|---|---|
| Health Score | 40 | 42 | 45 |
| Total Downloads | 2.1K | 74.0K | 1.8M |
| 30d Downloads | 18 | 2.9K | 739.1K |
| Dependents | 0 | 41 | 2 |
| Releases | 1 | 1 | 5 |
| Last Updated | 979d ago | 1905d ago | 1076d ago |
| Age | 2y 8m | 5y 2m | 6y 10m |
Health Breakdown
drain_at_sorted_unchecked
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
13
vecrem
Maintenance
1
Quality
16
Community
9
Popularity
6
Documentation
10
vec_mut_scan
Maintenance
4
Quality
16
Community
7
Popularity
7
Documentation
11
Technical Details
| drain_at_sorted_unchecked | vecrem | vec_mut_scan | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | non-standard | 0BSD |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 8KB | 6KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | 1.36.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •vec_mut_scan leads with a health score of 45/100, but none of the options score above 80.
- •⚠ drain_at_sorted_unchecked, vecrem, vec_mut_scan have not been updated in over a year.