[ZODB-Dev] Re: [Zope-Checkins] CVS: StandaloneZODB/ZODB - cPersistence.c:1.58 cPersistence.h:1.25 cPickleCache.c:1.55
Patrick K. O'Brien
pobrien@orbtech.com
Mon, 8 Apr 2002 07:54:54 -0500
[Toby Dickenson]
> >
> >I like adding a new method -- what about cache.clear()? But keeping
> >the old methods for backwards compatibility. I don't expect we'll
> >have enough releases from the Zope2/ZODB3 branch to get to "eventually
> >removing" something.
>
> Hmm. both of our suggestions (reduce_to_zero and clear) suggest that
> the cache will end up empty. However there are some objects that this
> method cant remove from the cache; modified objects.
>
> How about 'minimize'?
How about 'pack'? Like packing a database to free up space.
---
Patrick K. O'Brien
Orbtech