diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-09-28 16:59:12 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-09-28 16:59:12 (GMT) |
| commit | dfb495937437c62793489250df9d9dd33ac0f5a5 (patch) | |
| tree | 162f4bf8c13c23a30639669bda242e873f73df5f /Lib/lib-tk/turtle.py | |
| parent | e1698eb5c1195ec664a2d34abc3f0b645cd93971 (diff) | |
| download | cpython-dfb495937437c62793489250df9d9dd33ac0f5a5.zip cpython-dfb495937437c62793489250df9d9dd33ac0f5a5.tar.gz cpython-dfb495937437c62793489250df9d9dd33ac0f5a5.tar.bz2 | |
Blocked revisions 75110 via svnmerge
........
r75110 | mark.dickinson | 2009-09-28 17:52:40 +0100 (Mon, 28 Sep 2009) | 9 lines
Style/consistency/nano-optimization nit: replace occurrences of
(high_bits << PyLong_SHIFT) + low_bits with
(high_bits << PyLong_SHIFT) | low_bits
in Objects/longobject.c. Motivation:
- shouldn't unnecessarily mix bit ops with arithmetic ops (style)
- this pattern should be spelt the same way thoughout (consistency)
- it's very very very slightly faster: no need to worry about
carries to the high digit (nano-optimization).
........
Diffstat (limited to 'Lib/lib-tk/turtle.py')
0 files changed, 0 insertions, 0 deletions
