mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
A char is more than large enough for counting rebuilds, and it's fine if it rolls over. The table being rebuilt exactly 255 times between two check seems impossible. On the other hand, if `Hash#shift` is abused, `entries_start` is more likely to reach MAX_UCHAR. So swapping the two members is preferable.