Simple lru cache?
Paul Rubin
phr-n2002b at NOSPAMnightsong.com
Mon Oct 7 17:40:41 EDT 2002
Skip Montanaro <skip at pobox.com> writes:
> Ype> Does anyone know of a good lru cache implementation in python?
>
> Dunno if it qualifies as "good", but I wrote and use:
>
> http://manatee.mojam.com/~skip/python/Cache.py
>
> 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