Dieter Maurer wrote:
Jim Fulton wrote at 2006-10-9 13:22 -0400:
Hm, I don't why the use cases imply setting it only at the class
level, but OK.  I'll just take that as a given. So, since _p_sticky
is set at the class level, why store it on the instances?


use case 3, set on instance level.

I missed that. Sorry.

To make cache garbage collection as fast as possible,
I have proposed to actually store the sticky information in the
C object structure.

I don't like the idea of adding that overhead to every
persistent object just for this use case.  OTOH, we only
need a bit and I think we had a few spare bits.  So maybe
this wouldn't require any new space.


Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714  
Zope Corporation
For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to