HyperLogLog
HyperLogLog is a probabilistic algorithm for estimating the number of distinct elements (cardinality) of a multiset. Several variations of the original algorithm, described by P. Flajolet et al., have been proposed.
The following implementations are provided:
Usage
Add to Cargo.toml
:
[]
= "*"
A simple example using HyperLogLog++ implementation:
use RandomState;
use ;
let mut hllp: =
new.unwrap;
hllp.add;
hllp.add;
assert_eq!;
Experimental Evaluation
Check here for figures and discussion on experimental results.