Optimize a cache

Tim Williams listserver at tdw.net
Thu Jun 23 10:51:54 CEST 2005

----- Original Message ----- 
From: "Florian Lindner" <Florian.Lindner at xgm.de>

> Hello,
> I am building a object cache in python, The cache has a maximum size and
> items have expiration dates.
> At the moment I'm doing like that:

> What possible you see to optimize this lookup? Or anything else you see to
> make it better?

Have a look at http://py.vaults.ca/apyllo.py/514463245.769244789.92554878
it already has some of your requirements,  and can be used as a building

More information about the Python-list mailing list