summaryrefslogtreecommitdiff
path: root/Python/dynload_aix.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-07-27 05:31:29 +0000
committerGregory P. Smith <greg@mad-scientist.com>2010-07-27 05:31:29 +0000
commit5a63183a8b8a9e177f97feac975850df5e6f98aa (patch)
tree5cc448b4d1c43daf25f07973360871bf449c773d /Python/dynload_aix.c
parentf5ae1efd417b06cef5164cac79e2cc46afa6dd80 (diff)
downloadcpython-git-5a63183a8b8a9e177f97feac975850df5e6f98aa.tar.gz
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 'Python/dynload_aix.c')
0 files changed, 0 insertions, 0 deletions