Decision Workspace
compensated-summation vs xsum vs kahan
Side-by-side comparison of Rust crates
38
compensated-summation
growingv0.3.1
Compensated summation algorithms for better precision.
55
xsum
experimentalv0.1.6
Fast Exact Summation of Floating-Point Numbers
42
kahan
growingv0.1.4
Provides types to perform Kahan summation
Core Metrics
| compensated-summation | xsum | kahan | |
|---|---|---|---|
| Health Score | 38 | 55 | 42 |
| Total Downloads | 10.1K | 813.8K | 25.0K |
| 30d Downloads | 347 | 228.8K | 1.4K |
| Dependents | 7 | 2 | 21 |
| Releases | 4 | 7 | 4 |
| Last Updated | 331d ago | 158d ago | 2430d ago |
| Age | 1y 10m | 9m | 8y 2m |
Health Breakdown
compensated-summation
Maintenance
6
Quality
9
Community
8
Popularity
5
Documentation
10
xsum
Maintenance
12
Quality
14
Community
7
Popularity
7
Documentation
15
kahan
Maintenance
2
Quality
15
Community
9
Popularity
5
Documentation
11
Technical Details
| compensated-summation | xsum | kahan | |
|---|---|---|---|
| Version | 0.3.1 | 0.1.6 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 5 | 1 | 1 |
| Crate Size | 13KB | 21KB | 6KB |
| Features | 1 | 0 | 0 |
| Yanked % | 50.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | 1.69 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •xsum leads with a health score of 55/100, but none of the options score above 80.
- •⚠ kahan has not been updated in over a year.