[Ecls-list] Improving CLOS?
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu Mar 18 22:30:41 UTC 2010
On Thu, Mar 18, 2010 at 11:06 PM, Matthew Mondor
<mm_lists at pulsar-zone.net>wrote:
> I'm however still relatively new at CL and have only read a bit about
> MOP (too few to fully understand its implications, I've not finished
> AMOP). This surprised me, but one of the points which the MOP
> introduction stressed was how it was possible to have MOP even enhance
> the performance of a system, but I assume that it was in comparison to
> some heavy and slow object-oriented implementations of the time?
>
The MOP allows coding dispatch functions that are different from the default
ones. They can be faster, not relying on multiple classes dispatch, using
hashes, or even defaulting to something like C++'s indexed arrays of
methods. In principle this can be done, but it implies a huge effort.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100318/2cf18b44/attachment.html>
More information about the ecl-devel
mailing list