diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2010-07-27 05:31:29 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-07-27 05:31:29 (GMT) |
commit | 5a63183a8b8a9e177f97feac975850df5e6f98aa (patch) | |
tree | 5cc448b4d1c43daf25f07973360871bf449c773d /Doc/library/tkinter.rst | |
parent | f5ae1efd417b06cef5164cac79e2cc46afa6dd80 (diff) | |
download | cpython-5a63183a8b8a9e177f97feac975850df5e6f98aa.zip cpython-5a63183a8b8a9e177f97feac975850df5e6f98aa.tar.gz cpython-5a63183a8b8a9e177f97feac975850df5e6f98aa.tar.bz2 |
The default size of the re module's compiled regular expression cache has
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.
Diffstat (limited to 'Doc/library/tkinter.rst')
0 files changed, 0 insertions, 0 deletions