Staging
v0.5.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
VC6
VS7.1
VS8.0
bdist_wininst
example_nt
icons
os2emx
os2vacpp
WinMain.c -rw-r--r-- 447 bytes
_msi.c -rw-r--r-- 28.5 KB
_subprocess.c -rw-r--r-- 14.2 KB
_winreg.c -rw-r--r-- 48.1 KB
config.c -rw-r--r-- 4.6 KB
dl_nt.c -rw-r--r-- 3.8 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 1.6 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.6 KB
generrmap.c -rw-r--r-- 452 bytes
getpathp.c -rw-r--r-- 18.5 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.4 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rwxr-xr-x 7.0 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 19.7 KB
python.mk -rw-r--r-- 234 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 4.2 KB
testpy.py -rw-r--r-- 834 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winsound.c -rw-r--r-- 5.1 KB

readme.txt

back to top