Decision Workspace
sketching-core vs hyperloglog vs cardinality-estimator
Side-by-side comparison of Rust crates
46
sketching-core
experimentalv0.1.0
Shared primitives for probabilistic cardinality sketches.
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.
Core Metrics
| sketching-core | hyperloglog | cardinality-estimator | |
|---|---|---|---|
| Health Score | 46 | 59 | 59 |
| Total Downloads | 574 | 498.9K | 1.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 39 | 61 |
| Releases | 1 | 17 | 4 |
| Last Updated | 97d ago | 15d ago | 241d ago |
| Age | 3m | 11y 10m | 2y 5m |
Health Breakdown
sketching-core
Maintenance
8
Quality
16
Community
7
Popularity
3
Documentation
12
hyperloglog
Maintenance
15
Quality
21
Community
7
Popularity
7
Documentation
9
cardinality-estimator
Maintenance
7
Quality
19
Community
13
Popularity
7
Documentation
13
Technical Details
| sketching-core | hyperloglog | cardinality-estimator | |
|---|---|---|---|
| Version | 0.1.0 | 1.0.4 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | ISC | Apache-2.0 |
| Dependencies | 3 | 5 | 14 |
| Crate Size | 52KB | 39KB | 434KB |
| Features | 3 | 3 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.85.0 | — | — |
| Owners | 1 | 1 | 2 |
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.
- •sketching-core is pre-1.0 — API may change.