[ENH] Ten Percent Faster Morphic!

Valloud Andres Andres.Valloud at oya.state.or.us
Mon Aug 5 17:30:17 UTC 2002


If properties don't change too often you might consider arrays.

My 2 cents...
Andres.

-----Original Message-----
From: squeak-dev-admin at lists.squeakfoundation.org
[mailto:squeak-dev-admin at lists.squeakfoundation.org] On Behalf Of Ned Konz
Sent: Saturday, August 03, 2002 1:47 PM
To: squeak-dev at lists.squeakfoundation.org
Subject: [ENH] Ten Percent Faster Morphic!

These two change sets together offer an improvement in the 10% range for
typical Morphic construction and drawing.

The biggest improvement comes from changing Morph property dictionaries
from IdentityDictionary to OrderedCollection and using an unrolled loop
to scan for properties.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020805/7b6871a9/attachment.htm


More information about the Squeak-dev mailing list