[Zope-dev] Cache code in Shared/DC/ZRDB/DA.py

Dieter Maurer dieter at handshake.de
Mon Nov 20 13:37:06 EST 2006

Chris Withers wrote at 2006-11-20 07:46 +0000:
> ...
>Actually I used OOBucket. The silly casting-time-to-int just so it could 
>be used as the key for an IOBucket was a source of 2 memory leaks.
>> If you are at it.
>> The idea to have this cache maintained via a "_v_" attribute
>> is insane. A module level cache would be much more efficient
>> and save memory as well.
>Can you explain this a bit more? I'm unlikely to have further time to do 
>this as well, but you're welcome to pick up where I left off...

I will not do something with ZSQLMethods -- as there is my
"CCZSQLMethods". Anyone that wants sane ZSQLMethods can use


More information about the Zope-Dev mailing list