Simple lru cache?

Paul Rubin phr-n2002b at
Mon Oct 7 23:40:41 CEST 2002

Skip Montanaro <skip at> writes:
>     Ype> Does anyone know of a good lru cache implementation in python?
> Dunno if it qualifies as "good", but I wrote and use:
> You're welcome to use it.  Feedback is welcome.

This question (LRU caches) comes up so often and so many have been written
that maybe it's time for a C module.

More information about the Python-list mailing list