Re: [long answer] Re: copy-object
--- Nick Levine <ndl@ravenbrook.com> wrote: > means that both CLOS objects and the code that > accesses them have to > be more complicated than their structure > counterparts. Suppose I want to construct millions of objects, but only use a few of them, at random, according to the randomness of external events. How can I avoid the delay imposed by millions of make-instance calls? I'm thinking now that I should maybe use defstruct instead, and delegate the functionality to CLOS objects constructed as needed. Sort of a "lazy delegation" paradigm. But is it really needed? Isn't there any way to just construct millions of degenerate CLOS objects at high speed and let a few of them metamorphose when needed? __________________________________________________ Do You Yahoo!? Yahoo! Sports - sign up for Fantasy Baseball http://sports.yahoo.com