summaryrefslogtreecommitdiffstats
path: root/Tools/msi/wix.props
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2018-11-09 10:39:50 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-11-09 10:39:50 (GMT)
commit0a18e0510a145427d8ff1864a011c81ea02cdcd4 (patch)
tree1f9e4f52be6672e8fc802e0276c4638db1eaf28c /Tools/msi/wix.props
parentcf5863faabe011a61827b9b9982dba3d6a381f0f (diff)
downloadcpython-0a18e0510a145427d8ff1864a011c81ea02cdcd4.zip
cpython-0a18e0510a145427d8ff1864a011c81ea02cdcd4.tar.gz
cpython-0a18e0510a145427d8ff1864a011c81ea02cdcd4.tar.bz2
Hoist the float conversion out of the inner loop. (GH-10430)
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%).
Diffstat (limited to 'Tools/msi/wix.props')
0 files changed, 0 insertions, 0 deletions