[FIX] Eliminate some costly calls to #fullBounds in MorphicEventDispatcher

sps2000 at mail.com sps2000 at mail.com
Tue Sep 4 11:35:31 UTC 2001


Hi,

The MorphicEventDispatcher>>dispatchDefault:with: method calls
#fullBounds on the incoming aMorph. #fullBounds is a bit costly, and
#dispatchDefault... gets called very often by the event loop. This
changset prevents unnecessary calls to #fullBounds -- when aMorph is the
current world, anEvent position can be assumed to be within aMorph's
fullBounds without calling fullbounds.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dispatchFix.cs.gz
Type: application/octet-stream
Size: 621 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010904/633b0f23/dispatchFix.cs.obj


More information about the Squeak-dev mailing list