Staging
v0.8.1
https://github.com/python/cpython
Revision 5a63183a8b8a9e177f97feac975850df5e6f98aa authored by Gregory P. Smith on 27 July 2010, 05:31:29 UTC, committed by Gregory P. Smith on 27 July 2010, 05:31:29 UTC
been increased from 100 to 500 and the cache replacement policy has changed
from simply clearing the entire cache on overflow to randomly forgetting 20%
of the existing cached compiled regular expressions.  This is a performance
win for applications that use a lot of regular expressions and limits the
impact of the performance hit anytime the cache is exceeded.
1 parent f5ae1ef
History
Tip revision: 5a63183a8b8a9e177f97feac975850df5e6f98aa authored by Gregory P. Smith on 27 July 2010, 05:31:29 UTC
The default size of the re module's compiled regular expression cache has
Tip revision: 5a63183
File Mode Size
VC6
VS7.1
VS8.0
bdist_wininst
example_nt
icons
os2emx
os2vacpp
WinMain.c -rw-r--r-- 449 bytes
_msi.c -rw-r--r-- 31.3 KB
_subprocess.c -rw-r--r-- 19.9 KB
config.c -rw-r--r-- 4.7 KB
dl_nt.c -rw-r--r-- 4.2 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 2.1 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.9 KB
generrmap.c -rw-r--r-- 503 bytes
getpathp.c -rw-r--r-- 20.1 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
import_nt.c -rw-r--r-- 2.7 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rwxr-xr-x 13.3 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-- 20.3 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-- 836 bytes
w9xpopen.c -rw-r--r-- 3.6 KB
winreg.c -rw-r--r-- 57.9 KB
winsound.c -rw-r--r-- 5.4 KB

readme.txt

back to top