-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: an unrecord() function #114
Comments
Ah, interesting, yeah, we don't get that "for free" like the Go version does because they use signed integers for the counts: I think the best way to go about this would be to add a Line 868 in 7c4a5fa
And if it's I'd be curious on the impact of this change on the benchmarks. It could be that it's worth marking |
This feature is important to me... is there willingness to integrate it in if I PR this feature? - I should be able to figure it out based off of @jonhoo 's description. The only alternative I can really currently see (if I'd like to use this library and I do!!) is to create a new histogram with the entries I desire to remove then to subtract it from the original histogram... a cumbersome and seemingly inefficient way to do it. |
If you have time to write up a PR, then yes, I'd love to take a look! |
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
The text was updated successfully, but these errors were encountered: