Decision Workspace
hyperloglog vs cardinality-estimator vs exaloglog
Side-by-side comparison of Rust crates
59
hyperloglog
stablev1.0.4
HyperLogLog cardinality estimation for approximate distinct counting, with bias correction, mergeable sketches, and optional Serde serialization.
59
cardinality-estimator
growingv1.0.3
A crate for estimating the cardinality of distinct elements in a stream or dataset.
55
exaloglog
experimentalv0.15.0
ExaLogLog: space-efficient approximate distinct counting (Ertl 2024). 43% smaller than HyperLogLog with the same estimation error.
Core Metrics
| hyperloglog | cardinality-estimator | exaloglog | |
|---|---|---|---|
| Health Score | 59 | 59 | 55 |
| Total Downloads | 498.9K | 1.6M | 268 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 39 | 61 | 0 |
| Releases | 17 | 4 | 15 |
| Last Updated | 15d ago | 241d ago | 156d ago |
| Age | 11y 10m | 2y 5m | 5m |
Health Breakdown
hyperloglog
Maintenance
15
Quality
21
Community
7
Popularity
7
Documentation
9
cardinality-estimator
Maintenance
7
Quality
19
Community
13
Popularity
7
Documentation
13
exaloglog
Maintenance
18
Quality
13
Community
6
Popularity
3
Documentation
15
Technical Details
| hyperloglog | cardinality-estimator | exaloglog | |
|---|---|---|---|
| Version | 1.0.4 | 1.0.3 | 0.15.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | ISC | Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 5 | 14 | 9 |
| Crate Size | 39KB | 434KB | 114KB |
| Features | 3 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | 1.85 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •hyperloglog leads with a health score of 59/100, but none of the options score above 80.
- •cardinality-estimator has the most downloads (1.6M), suggesting wider adoption.
- •exaloglog is pre-1.0 — API may change.