HdrHistogram / hdrhistogram-go

A pure Go implementation of Gil Tene's HDR Histogram.
MIT License
429 stars 64 forks source link

Extended docs regarding ValueAtQuantile() and added ValuesAreEquivalent() #39

Closed filipecosta90 closed 3 years ago

filipecosta90 commented 3 years ago

This PR introduces the ValuesAreEquivalent() method and extendes the ValueAtQuantile() docs so that it's clear that it returns the largest value that (100% - percentile) of the overall recorded value entries in the histogram are either larger than or equivalent to. It can be used as further reference for issue #23 and why it happens. wdyt @ahothan @giltene ?

filipecosta90 commented 3 years ago

Looks good, but could you please take care of removing the panic as commented.

@ahothan changes per the PR review are in :)

ahothan commented 3 years ago

Looks good!