1 unstable release

0.5.0 Feb 19, 2019

#1131 in Math

Download history 64/week @ 2024-03-16 115/week @ 2024-03-23 146/week @ 2024-03-30 172/week @ 2024-04-06 103/week @ 2024-04-13 99/week @ 2024-04-20 82/week @ 2024-04-27 127/week @ 2024-05-04 126/week @ 2024-05-11 140/week @ 2024-05-18 73/week @ 2024-05-25 150/week @ 2024-06-01 80/week @ 2024-06-08 141/week @ 2024-06-15 221/week @ 2024-06-22 85/week @ 2024-06-29

548 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.


lib.rs:

hdrhist is a small footprint hdr histogram.

It collects u64 values 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.

No runtime deps