Press Read next score. Each bar is a score's size next to the highest so far. Watch every old bar shrink when a new highest arrives.
newest score already read not read yet
Highest so far: Tally:
Top score's share, old wayTop score's share, safe wayTop score's share, one-pass
Adding the same amount to every score should change nothing. Slide to 80 or more and see which method breaks.
Each number is the share the top score gets out of all the scores counted. Toy example with 8 scores. The old way fails because a 4-byte number cannot hold a size with more than 39 digits.