From: dmertz@... (denis) Date: 2004-06-18T19:43:20+09:00 Subject: Re: the new great computer language shootout Mark Hubbart wrote in message news:<80B1FAE0-C0B5-11D8-82C7-000A95D2DFAE@mac.com>... > On Jun 17, 2004, at 4:03 PM, Eric Hodel wrote: > > > Eric Hodel (drbrain@segment7.net) wrote: > > > >> This is because of the use of Numeric#step. The implementation is > >> flawed. > > > > Never mind, I am smoking crack. > > > > The real problem appears to be iteration in general. > > surprisingly, using += on line 18 give a 12% speedup on my box. > > cheers, > Mark It is not so surprising += is always faster in Ruby (from my experience).This change would place us between mzscheme and mawk. Note that many other languages (perl, icon lua...) uses += so it should be allowed. Ciao Denis