[ENH] FloatArraySum

Joshua 'Schwa' Gargus schwa at cc.gatech.edu
Fri Jun 13 15:28:18 UTC 2003


On Fri, Jun 13, 2003 at 11:27:01AM +0200, Daniel Vainsencher wrote:
> That should make Squeak... around twice as fast as optimized C!!! Cool
> ;-)
> 
> (or, IOW - it should make what 200x as fast? what does this affect?)

Oops, sorry.  It speeds up finding the sum of elements of a FloatArray
by more than 200x.  I've found the impact on the overall user experience
to be somewhat less drastic :-)  Actually, more like non-existent; if 
this had been a bottleneck anywhere, it would have been fixed long ago.

Joshua

> 
> Daniel
> 
> Joshua 'Schwa' Gargus <schwa at cc.gatech.edu> wrote:
> > 
> > --Boundary_(ID_KI7Kx6kEVRJGUaGoy5MUbw)
> > Content-type: text/plain; charset=us-ascii
> > Content-transfer-encoding: 7BIT
> > Content-disposition: inline
> > 
> > Adds a hook to a primitive that should shortly be appearing in the
> > VMMaker package on SqueakMap.  This speeds things up by over 200x.
> > If the primitive is not found, falls back to old calculation.
> > 
> > --Boundary_(ID_KI7Kx6kEVRJGUaGoy5MUbw)
> > Content-type: application/x-gunzip; NAME=FloatArraySum.1.cs.gz
> > Content-transfer-encoding: base64
> > Content-disposition: attachment; filename=FloatArraySum.1.cs.gz
> > 
> > H4sIAAAAAAAAAE2QT0vDQBDFzznsd3iph5xsm6StGkQoSoVCQah4EYVpsyYx2ey6f4R+eycW
> > 2sLADrOz7/3eJiurFV4lbX+CpDYfZ9BfSO+wlcZLtZMW2XSa4b0jL51HMCU3Ba7yxewDukea
> > YR16OWzlII95Mb/lglFJLEaPNfWVZDFfRNGq0+SX1tJhG5R4GnSiKLoUEMvga22H8Vq7OhCe
> > yVbBCbEsSwdCrXULr7kztlGNb34lfM22rtahK4fD+u6AnQQZI8k2fYWm5x2Jt82GWs5jaN8S
> > QzH8MfSGzHgUCyHiMyGUZJLSrZgGycnMXZsuVE2fwHlShq++9xUWkzSb/H9AelPMZxzccUAR
> > 3Z/eXWpw+ARKl6EbxmfLl6Pyg4g+4YJhUlaJwWB/eKK/IqUBAAA=
> > 
> > --Boundary_(ID_KI7Kx6kEVRJGUaGoy5MUbw)
> > MIME-version: 1.0
> > Content-type: text/plain; charset=us-ascii
> > Content-transfer-encoding: 7BIT
> > 
> > 
> > 
> > --Boundary_(ID_KI7Kx6kEVRJGUaGoy5MUbw)--



More information about the Squeak-dev mailing list