INADA Naoki <songofaca...@gmail.com> added the comment: * del cache[next(iter(cache))] happens only when sre.compile() is called. * del cache[next(iter(cache))] is much faster than sre.compile().
OK, performance difference is negligible, surely. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32338> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com