Staging
v0.8.1
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
Tip revision: dfb495937437c62793489250df9d9dd33ac0f5a5 authored by Mark Dickinson on 28 September 2009, 16:59:12 UTC
Blocked revisions 75110 via svnmerge
Blocked revisions 75110 via svnmerge
Tip revision: dfb4959
File | Mode | Size |
---|---|---|
Python.asdl | -rw-r--r-- | 4.1 KB |
acceler.c | -rw-r--r-- | 2.8 KB |
asdl.py | -rw-r--r-- | 11.0 KB |
asdl_c.py | -rwxr-xr-x | 39.3 KB |
bitset.c | -rw-r--r-- | 977 bytes |
firstsets.c | -rw-r--r-- | 2.2 KB |
grammar.c | -rw-r--r-- | 5.4 KB |
grammar.mak | -rw-r--r-- | 1.3 KB |
grammar1.c | -rw-r--r-- | 1.0 KB |
intrcheck.c | -rw-r--r-- | 2.4 KB |
listnode.c | -rw-r--r-- | 983 bytes |
metagrammar.c | -rw-r--r-- | 2.2 KB |
myreadline.c | -rw-r--r-- | 5.4 KB |
node.c | -rw-r--r-- | 3.6 KB |
parser.c | -rw-r--r-- | 9.8 KB |
parser.h | -rw-r--r-- | 1.0 KB |
parsetok.c | -rw-r--r-- | 6.3 KB |
pgen.c | -rw-r--r-- | 14.7 KB |
pgenmain.c | -rw-r--r-- | 3.3 KB |
printgrammar.c | -rw-r--r-- | 2.6 KB |
spark.py | -rw-r--r-- | 26.3 KB |
tokenizer.c | -rw-r--r-- | 35.8 KB |
tokenizer.h | -rw-r--r-- | 2.5 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
Computing file changes ...