Lisp HUG Maillist Archive

Re: [long answer] Re: copy-object

--- Nick Levine <ndl@ravenbrook.com> wrote:
> Or: implement this class as a structure. You can
> still write methods
> on it so it might satisfy all the requirements you
> had for these
> objects anyway. What you can't still do is redefine
> a structure class
> without recompilation, or change a structure
> object's class. IS that
> going to be a problem for you?

Yes, I've thought about just using structures.  But I
would rather have the advantages of CLOS, especially
multiple inheritance and metamorphism.

Suppose I wrote a foreign function to make a lot of
copies of a degenerate CLOS object.  Could I do it
significantly faster that way than using
make-instance?


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com


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