[ENH]PackagePaneBrowser speedUp
Torge Husfeldt
jean-jacques.gelee at gmx.de
Wed Apr 10 14:15:05 UTC 2002
Torge Husfeldt wrote:
>
> Hi list,
> I hope i am not reinventing the wheel or working on a dead branch, but
> the following cs makes package browsers on my system much more useable.
>
> >From Preamble:
> Change Set: PackageBrowserSpeedup-th
> Date: 10 April 2002
> Author: Torge Husfeldt
>
> Speeds up PackageBrowsers quite a bit
> (at least on slow machines). You will notice that a slow system is
> inaccesable for a few miliseconds every second. This is due to
> superfluous computation being made in the step method of
> PackageBrowsers. I inserted a cache for two really frequently computed
> values and made sure they don't break anything. This makes a great
> difference in the feel of the whole mophic sytem when a Package Browser
> is active.
> This should really work. A hint that my updating ctrieria are correct
> can be found in the inline comment of
> ClassOrganizer>>renameCategory:toBe:
Sorry, there was a little glitch in that version
>
> I attached also the spy results to prove the speedup.
> Though the _feel_ is much more informative to me than these numbers.
>
> Squeak on,
> Torge
>
> ------------------------------------------------------------------------
> Name: PackageBrowserSpeedup-th.3.cs
> PackageBrowserSpeedup-th.3.cs Type: Squeak source code (application/x-squeak-source)
> Encoding: base64
>
> Name: SpyResultsWithSpeedup.text
> SpyResultsWithSpeedup.text Type: Plain Text (text/plain)
> Encoding: 7bit
>
> Name: SpyResultsWithoutSpeedup.text
> SpyResultsWithoutSpeedup.text Type: Plain Text (text/plain)
> Encoding: 7bit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PackageBrowserSpeedup-th.4.cs
Type: application/x-squeak-source
Size: 3481 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020410/928de5ce/PackageBrowserSpeedup-th.4.sts
More information about the Squeak-dev
mailing list
|