HdrHistogram / hdrhistogram-go

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

Optimize snapshotting #9

Closed beberlei closed 4 years ago

beberlei commented 9 years ago

Not sure tests ran on this, please verify implementation, related to #8

beberlei commented 9 years ago

@tylertreat I refactored the code again, now it works, however it needs two loops over the data. I do think this is acceptable though. One option could be to have to export mechanisms, one optimized and the old one.

ahothan commented 4 years ago

Suggest to use the Encode and Decode feature that was just committed. Will close this issue unless there is any objection. Thanks