mirror of
https://github.com/python/cpython.git
synced 2026-08-05 04:14:16 +08:00
Currently, the *n* and *total* variables get converted to floats each time they are multiplied by random(). This minor tweak does the conversion just once and gets a small speedup (approx 3%).