Re: [elephant-devel] Deferred indexing

2008-07-25 Thread Ian Eslick
I looked at doing this earlier when I was implementing the proxy mechanism for elephant. The assumption of persist values on each slot access is pretty baked into Elephant. You'd have to get inside the slot access protocols, initialization protocols and who knows what else. If you can se

Re: [elephant-devel] Deferred indexing

2008-07-25 Thread Leslie P. Polzer
Sorry, instance creation should look like this: (setf banana (make-instance 'banana :deferred t)) or (setf banana (make-deferred-instance 'banana)) Leslie ___ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailma

[elephant-devel] Deferred indexing

2008-07-25 Thread Leslie P. Polzer
It would be nice to be able to say: (defpclass banana () (:index t)) (setf banana (make-instance 'banana)) ; do stuff with banana, then later optionally: (store-indexed-object banana) We could then do without proxy objects in Weblocks. I can't see any immediate problems with this approac