Re: Concatenation of objects...
Gary King <[email protected]>
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
I don't know if this is more efficient in general, but (intern (format nil "~A~A~A" 'a 'b 'c)) is another way to achieve the same end and it is slightly faster and conses about half as much in MCL. On Monday, September 29, 2003, at 07:41 PM, Fabrizio Morbini wrote: > Hi all, if I have three symbols: A, B and C and I want build the symbol > ABC the only things that I can do is: > > (read-from-string (concatenate 'string (symbol-name 'a) (symbol-name > 'b) > (symbol-name 'c))) > > Is there something more efficient? > > Thank you very much and Best Regards. > > Fabrizio. > > -- Gary Warren King, Lab Manager EKSL East, University of Massachusetts * 413 577 0176 It is not enough to prepare our children for the world; we must also prepare the world for our children. -- Luis Rodriguez