[FIX] InvalidationOptimization-nk

ned at bike-nomad.com ned at bike-nomad.com
Wed Sep 24 17:12:22 UTC 2003


from preamble:

"Change Set:		InvalidationOptimization-nk
Date:			24 September 2003
Author:			Ned Konz

This CS skips invalidation of rectangles whose width or height is 0.

This eliminates huge amounts of unnecessary redrawing (much of it out of
bounds!!) with PluggableListMorphs.

You can see the difference by doing this before and after you load this
CS:

* open a browser.
* Bring up a halo on the class category list's listmorph.
* inspect the morph
* turn on the debugShowDamage preference
* evaluate this in the inspector:
   model changed: (self getListSelector)

"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InvalidationOptimization-nk.cs.gz
Type: application/octet-stream
Size: 696 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030924/6e065728/InvalidationOptimization-nk.cs.obj


More information about the Squeak-dev mailing list