Overriding #class

Andreas Raab andreas.raab at gmx.de
Wed Nov 14 02:43:45 UTC 2007


Craig Latta wrote:
>  > I'd suggest disabling the bytecode that implements the class message.
>  > It doesn't do a message look-up. You could do this either by
>  > converting the bytecode to a normal send (there's several bytecodes
>  > that just do sends so this should be easy) or by modifying the
>  > compiler to generate a normal send bytecode with a selector in the
>  > literal frame.
>  >
>  > I doubt that disabling this optimisation will cause problems but
>  > could be wrong.
> 
>      I did this for Spoon's proxy system, and it seems to work fine.

Oh, interesting. Did you ever run the macro benchmarks to see how much 
of a difference that makes? I've always wondered about the speed impact 
in a realistic kind of setting.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list