Staging
v0.8.1
https://github.com/python/cpython
Revision dfb495937437c62793489250df9d9dd33ac0f5a5 authored by Mark Dickinson on 28 September 2009, 16:59:12 UTC, committed by Mark Dickinson on 28 September 2009, 16:59:12 UTC
........
  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).
........
1 parent e1698eb
History
Tip revision: dfb495937437c62793489250df9d9dd33ac0f5a5 authored by Mark Dickinson on 28 September 2009, 16:59:12 UTC
Blocked revisions 75110 via svnmerge
Tip revision: dfb4959
File Mode Size
c-api
data
distutils
documenting
extending
howto
includes
install
library
reference
tools
tutorial
using
whatsnew
ACKS.txt -rw-r--r-- 4.3 KB
Makefile -rw-r--r-- 5.1 KB
README.txt -rw-r--r-- 4.9 KB
about.rst -rw-r--r-- 1.3 KB
bugs.rst -rw-r--r-- 2.8 KB
conf.py -rw-r--r-- 5.5 KB
contents.rst -rw-r--r-- 423 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 26.9 KB
license.rst -rw-r--r-- 36.1 KB
make.bat -rw-r--r-- 1.6 KB

README.txt

back to top