[ZODB-Dev] Storage API corner cases

Chris Withers chrisw at nipltd.com
Mon Jun 2 13:29:59 EDT 2003


Jeremy Hylton wrote:
> On Fri, 2003-05-30 at 12:08, Toby Dickenson wrote:
> 
>>Another option is to delete the getSerial method, and rely on the base class 
>>implementation that delegates to load(). This is simpler, but will cost a 
>>little performance of ZEO cache validation. Which is preferred?
> 
> Actually, it can cost a lot in ZEO cache verification.  It's importent
> to keep getSerial() cheap to make verification fast.

How come the base class version isn't cheap?

cheers,

Chris




More information about the ZODB-Dev mailing list