histogram
histogram copied to clipboard
Why is histogram hardcoded to u64?
Can't histogram be generic and receive any type instead of being hardcoded to accept only u64?
(sorry, I don't know how I missed the notification for this issue)
Yes, it can. This is just a very old crate and my use-case at the time only focused on u64. I have a different library I am using now that does use generics, but it's not published to crates.io yet.
any update on the generic histogram (f64 and negative values)?
I built histo_fp for int and float samples (and buckets) Check it out