> This implementation is not threadsafe. > > You can also use defaultdict: > http://docs.python.org/library/collections.html#collections.defaultdict
LRU is threadsafe I think it would be slower (prove me wrong) -- https://code.launchpad.net/~openerp-dev/openobject-server/trunk-cachecleanup/+merge/63807 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-server/trunk-cachecleanup. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

