[BUG] Bounds of rotated Morphs are incorrect inside GeeMailMorphs

Henrik Gedenryd Henrik.Gedenryd at lucs.lu.se
Wed Mar 7 12:08:31 UTC 2001


Randal L. Schwartz wrote:

> Bert> The real problem IMHO is the use of absolute coordinates in
> Bert> Morphic.
> 
> I suspect there'd be at least a tiny slowdown as each morph has to ask
> all its owner morphs about its current x/y, but doesn't it sorta have
> to do that anyway if there are rotate/transform morphs in the middle?

Some things would be slower, others faster. E.g. finding the target of a
click would require traversing the whole owner chain to compute the global
position of a morph. But doing a fullMove or position, etc. would be faster
since this would no longer require you to traverse all submorphs. In all, I
think it would yield an overall slightly faster system.

Henrik






More information about the Squeak-dev mailing list