MorphicEventDispatcher>>dispatchDefault:with:

Eddie Cottongim cottonsqueak at earthlink.net
Sun Aug 17 03:52:15 UTC 2003


Looking through here, it looks like the line:

localEvt _ anEvent transformedBy: (child transformedFrom: aMorph).

inside the loop is a loop invariant. Does this sound reasonable? You have to
make the assumption that the same transform is used for a morph and all of
its children, which is safe as far as I know and can possibly still be
handled if not. The same pattern exists in several other methods for this
class, too. From initial messing around it looks like there might be 10-25%
to be gained. It would be good to have a real benchmark - any ideas how to
exercise this realistically?

Thanks,
Eddie




More information about the Squeak-dev mailing list