Staging
v0.5.1
https://github.com/python/cpython
Revision 77578204d6aeb89a9ee8365f8fb28ce18aa2eb7c authored by Raymond Hettinger on 28 July 2013, 09:39:49 UTC, committed by Raymond Hettinger on 28 July 2013, 09:39:49 UTC
The former block size traded away good fit within cache lines in
order to gain faster division in deque_item().  However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift.  Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.

GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x * 9520900167075897609 >> 69".
1 parent 1f1d0a5
History
Tip revision: 77578204d6aeb89a9ee8365f8fb28ce18aa2eb7c authored by Raymond Hettinger on 28 July 2013, 09:39:49 UTC
Restore the data block size to 62.
Tip revision: 7757820
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 960 bytes
.hgeol -rw-r--r-- 721 bytes
.hgignore -rw-r--r-- 1.2 KB
.hgtags -rw-r--r-- 5.5 KB
.hgtouch -rw-r--r-- 1.2 KB
LICENSE -rw-r--r-- 14.7 KB
Makefile.pre.in -rw-r--r-- 48.7 KB
README -rw-r--r-- 6.4 KB
config.guess -rwxr-xr-x 43.8 KB
config.sub -rwxr-xr-x 34.8 KB
configure -rwxr-xr-x 430.3 KB
configure.ac -rw-r--r-- 132.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 39.4 KB
setup.py -rw-r--r-- 92.5 KB

README

back to top