Faster Change Browser

Eddie Cottongim cottonsqueak at earthlink.net
Fri Sep 13 07:38:53 UTC 2002


I've noticed that if you "Browse Changes" on a changeset and then select
many items, the change browser becomes painfully slow while scrolling. The
following changeset improves this to make scrolling selected items nearly as
smooth as with nothing selected.

The culprit was PluggableListMorphofMany>>drawOn; the solution should help
other users of that class, too.

Eddie
--

"Change Set:  ChangeBrowserSpeedup-efc
Date:   13 September 2002
Author:   Eddie Cottongim

When many list items are selected (such as in a change browser) in a
PluggableListMorphOfMany, scrolling is extremely slow. This speeds up the
redraw by
1: removing loop invariants
2: drawing highlight bars for visible list items only.
"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeBrowserSpeedup-efc.1.cs.gz
Type: application/octet-stream
Size: 757 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020913/69bb6ba8/ChangeBrowserSpeedup-efc.1.cs.obj


More information about the Squeak-dev mailing list