Morphic slowness (was Re: Does *anyone* use MVC?)
Ned Konz
ned at bike-nomad.com
Fri Aug 2 23:02:20 UTC 2002
On Friday 02 August 2002 09:47 am, Valloud Andres wrote:
> Some time ago I traced Morphic code and it turned out to be that
> the interesting properties that cause slowdown due to dictionary
> lookup are 1 or 2. To cache them in the extension you need to
> impose using selectors to get them every time, and then put an
> instance variable in the extension. It sped up things
> considerably.
The ones I spotted were wonderlandTexture and clipSubmorphs. There may
be others as well.
Which ones did you find, if you remember?
see Morph>>invalidRect:from: and Morph>>clipSubmorphs.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|