LRU cache?

Alex Martelli aleax at mac.com
Sun Aug 12 02:04:39 EDT 2007


Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:

> Anyone got a favorite LRU cache implementation?  I see a few in google
> but none look all that good.  I just want a dictionary indexed by
> strings, that remembers the last few thousand entries I put in it.

So what's wrong with Evan Prodromou's lrucache.py module that's in pypi?
Haven't used it, but can't see anything wrong at a glance.


Alex



More information about the Python-list mailing list