Decision Workspace
datasketches vs hyperloglog vs cardinality-estimator
Side-by-side comparison of Rust crates
62
datasketches
growingv0.5.0
A software library of stochastic streaming algorithms (a.k.a. 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
| datasketches | hyperloglog | cardinality-estimator | |
|---|---|---|---|
| Health Score | 62 | 59 | 59 |
| Total Downloads | 4.5M | 498.9K | 1.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 39 | 61 |
| Releases | 14 | 17 | 4 |
| Last Updated | 36d ago | 15d ago | 241d ago |
| Age | 2y 2m | 11y 10m | 2y 5m |
Health Breakdown
datasketches
Maintenance
17
Quality
15
Community
10
Popularity
8
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
| datasketches | hyperloglog | cardinality-estimator | |
|---|---|---|---|
| Version | 0.5.0 | 1.0.4 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | ISC | Apache-2.0 |
| Dependencies | 3 | 5 | 14 |
| Crate Size | 288KB | 39KB | 434KB |
| Features | 10 | 3 | 2 |
| Yanked % | 7.1% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2021 |
| MSRV | 1.86.0 | — | — |
| Owners | 2 | 1 | 2 |
Links
Quick Verdict
- •datasketches leads with a health score of 62/100, but none of the options score above 80.
- •datasketches is pre-1.0 — API may change.