Lisp HUG Maillist Archive

Re: [long answer] Re: copy-object

--- ssekkat@gmx.de wrote:
> If the objects are not instantiated, how do you
> identify them?

I would of course have some raw data associated with
each of them, which would be used for constructing the
real object when needed.

> One possibility is to have a wrapper class with one
> unbound slot. 
> All GF access this slot. 
> As soon a GF access the slot, the method
> unbound-slot is called and you 

Does unbound-slot work with structures or just CLOS
objects?  If it works with structures it can be very
helpful in this kind of "lazy delegation".

> can instantiate the slot with the real object.
> That way creating the wrapper should be very cheap
> and the real object is 
> instantiated on demand in a cost effective way.

Yes, very elegant, if unbound-slot works with
structures.


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/


Re: [long answer] Re: copy-object

Unable to parse email body. Email id is 153

Updated at: 2020-12-10 09:02 UTC