hyperloglog

A HyperLogLog implementation in Rust, with bias correction.

Installation: use Cargo:

toml [dependencies] hyperloglog = "~0"

Usage:

```rust let mut hll = HyperLogLog::new(errorrate); hll.insert(&"test1"); hll.insert(&"test2"); let cardestimation = hll.len();

let mut hll2 = HyperLogLog::newfromtemplate(&hll); hll2.insert(&"test3");

hll.merge(&hll2); ```