diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-09 07:30:53 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-09 07:30:53 (GMT) |
commit | 9f347ea5457604694a8e1f94e18e9d00e85bded7 (patch) | |
tree | 775809513c7e344a5759501ddad5b15507f9b87b /Misc | |
parent | 5c87c1a5a843ab5d09edc279e506b6b8a1c3d3d2 (diff) | |
download | cpython-9f347ea5457604694a8e1f94e18e9d00e85bded7.zip cpython-9f347ea5457604694a8e1f94e18e9d00e85bded7.tar.gz cpython-9f347ea5457604694a8e1f94e18e9d00e85bded7.tar.bz2 |
reapply the revert made in r83875
Now the _collections is statically built, the build dependencies are in proper
order and build works fine.
Commit Log from r83874:
Issue 9396. Apply functools.lru_cache in the place of the
random flushing cache in the re module.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -697,8 +697,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. |