[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

Richard Oudkerk report at bugs.python.org
Mon Mar 11 16:48:23 CET 2013


Richard Oudkerk added the comment:

> Which does give me a thought - perhaps lru_cache in 3.4 could accept a 
> "key" argument that is called as "key(*args, **kwds)" to derive the cache 
> key? (that would be a separate issue, of course)

Agreed.  I suggested the same in an earlier post.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16389>
_______________________________________


More information about the Python-bugs-list mailing list