[New-bugs-announce] [issue28293] Don't completely dump the regex cache when full
Raymond Hettinger
report at bugs.python.org
Wed Sep 28 00:49:29 EDT 2016
New submission from Raymond Hettinger:
When the regex cache gets filled, it is cleared in its entirety. Instead, it only needs to evict one arbitrary entry. This will save the us from having to rebuild and recache frequently used regexes.
----------
assignee: serhiy.storchaka
components: Library (Lib)
files: re_cache_pop.diff
keywords: patch
messages: 277580
nosy: rhettinger, serhiy.storchaka
priority: low
severity: normal
stage: patch review
status: open
title: Don't completely dump the regex cache when full
type: performance
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44852/re_cache_pop.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28293>
_______________________________________
More information about the New-bugs-announce
mailing list