Decision Workspace
cumsum vs fenwick vs no-adjacent
Side-by-side comparison of Rust crates
44
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 | 44 | 49 | 40 |
| Total Downloads | 4.4K | 114.1K | 2.8K |
| 30d Downloads | 107 | 20.6K | 4 |
| Dependents | 15 | 32 | 0 |
| Releases | 1 | 7 | 2 |
| Last Updated | 1705d ago | 1289d ago | 1642d ago |
| Age | 4y 8m | 7y 11m | 4y 6m |
Health Breakdown
cumsum
Maintenance
1
Quality
21
Community
9
Popularity
4
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.