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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28293>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to