[Python-checkins] r75112 - python/branches/release26-maint
mark.dickinson
python-checkins at python.org
Mon Sep 28 18:59:12 CEST 2009
Author: mark.dickinson
Date: Mon Sep 28 18:59:12 2009
New Revision: 75112
Log:
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).
........
Modified:
python/branches/release26-maint/ (props changed)
More information about the Python-checkins
mailing list