Browser on slower machines

Ned Konz ned at bike-nomad.com
Sat Jul 26 18:40:24 UTC 2003


On Saturday 26 July 2003 11:24 am, Eddie Cottongim wrote:
> I've been noticing that on my slower machine, the Browser is quite
> slow. If I open up all the Morph methods and click or use the arrow
> keys to move through them, it takes about two seconds to display
> each new method.
>
> I'm finding that for each new method selection by arrow key/mouse
> click, ClassOrganizer>>allMethodSelectors gets called 4 times. This
> requests that the message list be sorted, and that takes a bit of
> time, about 50% of the total time spent updating.
>
> It seems like we can cache the sorted version of the list, but you
> need to be careful to invalidate the cache when the original
> (elementArray) changes.

Rather than spend up to 200K or so caching these lists globally, why 
not make the Browser cache them?

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list