[ENH] ExplorerSpeedup-efc

Matej Kosik kosik at fiit.stuba.sk
Thu Jul 21 09:56:20 UTC 2005


cottonsqueak at earthlink.net wrote:
> from preamble:
> 
> "Change Set:		ExplorerSpeedup-efc
> Date:			21 July 2005
> Author:			Eddie Cottongim
> 
> Makes scrolling smooth in SimpleHierarchicalLists faster by using a
> binary search to only draw visible elements. TransformMorph has also
> been given this ability through an extension. IndentingListItemMorph has
> a minor change to prevent an unnecessary copy of its owners submorph
> collection.
> 
> The object explorer remains slow to open initially.
> 
> Try it out with 
> (1 to: 10000) explore.
> "!
> 
> 
> ------------------------------------------------------------------------
> 
> 

Suggestion:

Scrolling done directly by moving the scrollbar works (thanks to your changeset) faster. But when I try to scroll things up and down with mouse scroll wheel, things are as slow as before. I am not sure if this could be fixed with the similar trick. I guess that yes.
-- 
mk



More information about the Squeak-dev mailing list