Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In HdrHistogram#125 (comment) a simplification was made without discussion: ```diff - h.iter_recorded().collect::<Vec<_>>().len() + h.iter_recorded().count() ``` This is incorrect as what this test actually tests was that the iterator has the correct length. In a perfect world both should be identical but the PR fix a case where this was not the case as some items would be skipped over. In this I revert the change, add a comment and a second (redundant) check to make sure this is not re-simplified later.
- Loading branch information