Rust Hyperloglog Save

A HyperLogLog implementation in Rust.

Project README

hyperloglog

A HyperLogLog implementation in Rust, with bias correction.

Installation: use Cargo:

[dependencies]
hyperloglog = "0"

Usage:

let mut hll = HyperLogLog::new(error_rate);
hll.insert(&"test1");
hll.insert(&"test2");
let card_estimation = hll.len();

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

hll.merge(&hll2);

Optional Cargo features:

  • with_serde: enable serialization via serde.
Open Source Agenda is not affiliated with "Rust Hyperloglog" Project. README Source: jedisct1/rust-hyperloglog
Stars
49
Open Issues
1
Last Commit
8 months ago
License

Open Source Agenda Badge

Open Source Agenda Rating