On Tue, Nov 16, 2010 at 1:15 PM, Nikodemus Siivola <nikodemus@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