HdrHistogram_rust icon indicating copy to clipboard operation
HdrHistogram_rust copied to clipboard

A port of HdrHistogram to Rust

Results 25 HdrHistogram_rust issues
Sort by recently updated
recently updated
newest added

Should we move things like the total number of counts to u128? That may have a detrimental affect on performance, especially on lesser hardware; I haven't benchmarked it yet to...

The current [deserialization example](https://docs.rs/hdrsample/6.0.0/hdrsample/serialization/index.html#examples) is a little sad, in that it needs to allocate a new histogram for each of the intermediate deserialized histograms. It would be awesome if there...

flate2 is fast, but it would be nice to have a default pure rust compression library so we wouldn't need to have the `serialization` feature stuff. Presumably this would go...

Currently, serialization output is directed to a `Write` in both the V2 and V2 + DEFLATE serializers. This is a very flexible abstraction, but the serialization formats dictate a length...

We allow u64 counts, but the serialization format only allows `i64::max_value()` as the largest count. So, you can end up with an un-serializable histogram. It would be nice if the...

There are two reasonable things to do when subtracting a count that exceeds the minuend count: saturate at 0, or error. It would be nice to let the user do...

Several TODOs were added in #34 pointing out places that can overflow. There may be more; that was simply what I found by searching for " + ".

While working on #10 I'm ending up with error options that can only occur if resize is disabled. This is unfortunate as it means that someone using resize will now...

In [Rust's official naming guide](https://rust-lang.github.io/api-guidelines/naming.html), the recommanded constructor names should be `new` or `with_more_details`, and almost all stdlib APIs follow the guide. This may introduce a break change so that...

Can we implemented an interface to remove what we have Histogram::record() ? Like this decrement interface in another histgram crate https://docs.rs/histogram/0.6.9/histogram/struct.Histogram.html#method.decrement