FIX: Making Set/Dictionary etc. loops more robust

Jon Hylands jon at huv.com
Tue Nov 30 17:03:27 UTC 2004


On Tue, 30 Nov 2004 08:30:52 -0800, "Joshua Scholar"
<jscholar at access4less.net> wrote:

> You know, it occures to me to wonder why common looping constructs near the
> bottom of hierachies haven't been turned into primitives.  Faster looping
> constructs (a SmallInteger to: do:, Float to: by: do:, Interval to: by: do:,
> Array do:, ByteArray do: etc.) would significantly speed up some code.

VisualAge has done this. They have a generic collection iterator primitive,
with which all the built-in collection enumeration methods are implemented.

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com



More information about the Squeak-dev mailing list