Staging
v0.5.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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 505 bytes
.hgignore -rw-r--r-- 717 bytes
.hgtags -rw-r--r-- 3.6 KB
LICENSE -rw-r--r-- 14.1 KB
Makefile.pre.in -rw-r--r-- 39.9 KB
README -rw-r--r-- 6.9 KB
configure -rwxr-xr-x 389.4 KB
configure.in -rw-r--r-- 119.1 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.2 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 76.4 KB

README

back to top