On Sat, Mar 22, 2008 at 5:11 AM, Ian Eslick <[EMAIL PROTECTED]> wrote:
> In the past, we've been able to reclaim instances that were not > reachable from the root or in an indexed object. However, with the > new schema model, all persistent objects are reachable implicitly by > being in the store's oid->class table (i.e. a get-instances-by-class > now works for any persistent class). Thus to reclaim storage you have > to explicitly drop an instance. > > Is this good or bad? It's nice to always be able to reach instances > of a class, but for reclamation we could have a class option which is > something like :weak-class-index t. That is instances may be > reachable by get-instances-by-class but it's not guaranteed after a gc > or migration. > > > Anyone have thoughts on this? How should we define reachability in > this new model? I think this is a good idea. In some cases you might *not* want the instances to be reached, there could be an option for that as well such as :class-indexed nil. /Henrik
_______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel