diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-13 16:27:38 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-13 16:27:38 (GMT) |
commit | 3060c4573ffa4e26deb7d9cbd3a14b8335977075 (patch) | |
tree | cc7d123053a0c50a901f9e490eb168322c2f4317 /Misc | |
parent | 6fdb74f0aeb53b755a4573e00947ed16922adb65 (diff) | |
download | cpython-3060c4573ffa4e26deb7d9cbd3a14b8335977075.zip cpython-3060c4573ffa4e26deb7d9cbd3a14b8335977075.tar.gz cpython-3060c4573ffa4e26deb7d9cbd3a14b8335977075.tar.bz2 |
Reapply r83877.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -727,8 +727,8 @@ Library - 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 + simply clearing the entire cache on overflow to forgetting the least recently + used 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. |