diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-09-28 17:55:30 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-09-28 17:55:30 (GMT) |
commit | 04444a8802d06e11dfeddb324a83072fff4191ca (patch) | |
tree | 95eb50a26581670c93d67431ff5e6a63563a0ae6 | |
parent | 47373ded99d6062b4cd968061a1ab7a6101bada9 (diff) | |
download | cpython-04444a8802d06e11dfeddb324a83072fff4191ca.zip cpython-04444a8802d06e11dfeddb324a83072fff4191ca.tar.gz cpython-04444a8802d06e11dfeddb324a83072fff4191ca.tar.bz2 |
Blocked revisions 75113 via svnmerge
................
r75113 | mark.dickinson | 2009-09-28 18:54:52 +0100 (Mon, 28 Sep 2009) | 16 lines
Merged revisions 75110 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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).
........
................
0 files changed, 0 insertions, 0 deletions