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
c-api
data
distutils
documenting
extending
faq
howto
includes
install
library
reference
tools
tutorial
using
whatsnew
ACKS.txt -rw-r--r-- 4.4 KB
Makefile -rw-r--r-- 6.1 KB
README.txt -rw-r--r-- 5.0 KB
about.rst -rw-r--r-- 1.3 KB
bugs.rst -rw-r--r-- 3.2 KB
conf.py -rw-r--r-- 5.7 KB
contents.rst -rw-r--r-- 440 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 26.6 KB
license.rst -rw-r--r-- 36.0 KB
make.bat -rw-r--r-- 1.6 KB

README.txt

back to top