1 unstable release

0.5.0 Feb 19, 2019

#2141 in Math

Download history 430/week @ 2025-12-08 555/week @ 2025-12-15 223/week @ 2025-12-22 601/week @ 2025-12-29 647/week @ 2026-01-05 396/week @ 2026-01-12 527/week @ 2026-01-19 510/week @ 2026-01-26 835/week @ 2026-02-02 1070/week @ 2026-02-09 903/week @ 2026-02-16 758/week @ 2026-02-23 605/week @ 2026-03-02 1491/week @ 2026-03-09 1085/week @ 2026-03-16 833/week @ 2026-03-23

4,089 downloads per month
Used in streaming-harness

MIT license

12KB
188 lines

hdrhist is a small footprint hdr histogram in rust. It collects u64 samples in the full u64 value range with precision of 5 most significant bits. You can add new samples in O(1) time (a handful of cycles), and it will never reallocate.

Crates.io Documentation

Adding the dependency

Add the following to your [dependecies] in Cargo.toml.

hdrhist = "^<version>"

where <version> is the desired version of the library. The latest version is Crates.io.

Documentation

The reference documentation is at docs.rs/hdrhist.

No runtime deps