On 20.01.2010 18:56, Adrian Lienhard wrote:
Ok, in the class Morph it is not really smooth, also on my MacBook Pro.
I quickly did some profiling and came up with the following speedups (i.e.,
experimental hacks):
Is it better now?
Cheers,
Adrian
BTW, not GC makes it slow but often recomputing the method list. Also, button
colors are computed expensively, even though they are not used.
Yes, my only "gripe" with the Polymorph themes is they tend to
recompute/replace morph properties rather than retain the current if it
has not changed.
This also makes any kind of caching impossible (say, f.ex. in Color for
heavily accessed derived colors like twiceDarker/Lighter, or an
appropiately sized Form for AlphaInfiniteForms).
Changing it would be a major overhaul of how it currently works though,
and would be much easier if themed in the way Igor proposed.
Cheers,
Henry
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project