Decision Workspace
cumsum vs fenwick vs no-adjacent
Side-by-side comparison of Rust crates
46
cumsum
growingv1.0.0
Cumulative sum
49
fenwick
growingv2.0.1
Fenwick tree: data structure that efficiently calculates prefix sums in a changing array of numbers.
40
no-adjacent
growingv0.1.1
Max sum when no two elements are adjacent in a list.
Core Metrics
| cumsum | fenwick | no-adjacent | |
|---|---|---|---|
| Health Score | 46 | 49 | 40 |
| Total Downloads | 10.5K | 208.4K | 2.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 20 | 32 | 0 |
| Releases | 1 | 7 | 2 |
| Last Updated | 1901d ago | 1486d ago | 1838d ago |
| Age | 5y 2m | 8y 6m | 5y |
Health Breakdown
cumsum
Maintenance
1
Quality
21
Community
10
Popularity
5
Documentation
9
fenwick
Maintenance
3
Quality
20
Community
10
Popularity
6
Documentation
10
no-adjacent
Maintenance
3
Quality
16
Community
5
Popularity
4
Documentation
12
Technical Details
| cumsum | fenwick | no-adjacent | |
|---|---|---|---|
| Version | 1.0.0 | 2.0.1 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | GPL-3.0-only | MIT | MIT |
| Dependencies | 0 | 2 | 0 |
| Crate Size | 14KB | 5KB | 2KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •fenwick leads with a health score of 49/100, but none of the options score above 80.
- •⚠ cumsum, fenwick, no-adjacent have not been updated in over a year.
- •no-adjacent is pre-1.0 — API may change.