Skip to content

Conversation

@punkt2
Copy link
Contributor

@punkt2 punkt2 commented Nov 18, 2020

What kind of this PR?

  • Bugfix

Other information:

firstRangeAverageSize is calculated wrong when the first items of the first range have the same size and the following item has a different size. firstRangeTotalSize is then not the sum of all sizes in the first range but is calculated starting from the item with the different size on.

By dividing then firstRangeTotalSize with the total number of sizes gives a wrong estimated size.

firstRangeAverageSize is calculated wrong when the first items of the first range have the same size and the following a different size.
@tangbc tangbc merged commit dbd4bf7 into tangbc:master Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants