Decision Workspace
vecrem vs drain_at_sorted_unchecked vs smallvec
Side-by-side comparison of Rust crates
42
vecrem
growingv0.1.0
Cursor-like structure for fast iterative removing of elements from a vec
40
drain_at_sorted_unchecked
growingv0.1.0
Terribly unsafe but highly efficient function that allows removing items from a vector with few moves.
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
Core Metrics
| vecrem | drain_at_sorted_unchecked | smallvec | |
|---|---|---|---|
| Health Score | 42 | 40 | 73 |
| Total Downloads | 115.7K | 2.2K | 1.3B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 43 | 0 | 78.3K |
| Releases | 1 | 1 | 83 |
| Last Updated | 2101d ago | 1176d ago | 7d ago |
| Age | 5y 9m | 3y 2m | 11y 6m |
Health Breakdown
vecrem
Maintenance
1
Quality
16
Community
9
Popularity
6
Documentation
10
drain_at_sorted_unchecked
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
13
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
Technical Details
| vecrem | drain_at_sorted_unchecked | smallvec | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 1.16.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 0 | 6 |
| Crate Size | 6KB | 8KB | 35KB |
| Features | 0 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 24.1% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 3 (team) |
Links
Quick Verdict
- •smallvec leads with a health score of 73/100, but none of the options score above 80.
- •smallvec is depended on by 78.3K crates — strongest ecosystem trust.
- •⚠ vecrem, drain_at_sorted_unchecked have not been updated in over a year.
- •vecrem, drain_at_sorted_unchecked are pre-1.0 — API may change.