[etoys-dev] Pharo speedup -> morphic extension performance hit

karl ramberg karlramberg at gmail.com
Fri Nov 20 15:00:08 EST 2009


On Fri, Nov 20, 2009 at 8:23 PM, Andreas Raab <andreas.raab at gmx.de> wrote:

> Bert Freudenberg wrote:
>
>>
>> I'd love to see measurements. In Etoys we don't really use Windows much.
>> But viewers etc. are made up of many morphs, so this could very well be an
>> improvement.
>>
>>
> I would suspect significant improvements if the majority of the flags move
> directly into a bitflags field in class Morph. It reduces space usage and
> speeds up access. However, migration of old projects will be tricky.
>
> Cheers,
>  - Andreas



I tested to load the change set and found out we already have
MorphicExtensionPlus:

"Adds inst vars layoutPolicy and layoutParameters to vanilla MorphExtension,
for greater speed and to reduce the need for use of the otherProperties
dictionary."

so maybe the speedup is much taken care of...


Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20091120/3689a64a/attachment.html


More information about the etoys-dev mailing list