[Python-ideas] functools.lru_cache manual cache modification

Juancarlo Añez apalala at gmail.com
Tue Dec 2 15:29:30 CET 2014


On Tue, Dec 2, 2014 at 9:07 AM, Constantin Berhard <
constantin at exxxtremesys.lu> wrote:

> Then
>
> @functools.lru_cache
>
> would become
>
> @functools.cache(collections.LruCache(maxsize=128))
>

+1


-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20141202/e57293ed/attachment.html>


More information about the Python-ideas mailing list