[pro] When to use SLOT-VALUE...

Scott L. Burson Scott at sympoiesis.com
Tue Nov 16 22:07:02 UTC 2010


On Tue, Nov 16, 2010 at 1:15 PM, Nikodemus Siivola <
nikodemus at random-state.net> wrote:

> I *think* permutation vectors can be extended to accessors
> as well, but I don't know how commonly that is implemented (eg. SBCL
> at least currently doesn't)


Presumably the automatically generated methods for the accessor use the
optimization internally, but the compiler can't inline those methods -- it
has to go through the generic function call, as you might have overridden
the accessor with an explicit method on a subclass, or added a daemon
method, or something.

-- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20101116/290cba52/attachment.html>


More information about the pro mailing list