On Sun, Sep 21, 2008 at 2:54 AM, Joe Wlfel <joe / talkhouse.com> wrote:

> Ruby 1.86 output:
> Rehearsal --------------------------------------------------
> for loop         2.840000   0.040000   2.880000 (  2.880437)
> for loop 2       1.660000   0.000000   1.660000 (  1.661229)
> each             1.750000   0.010000   1.760000 (  1.755502)
> ----------------------------------------- total: 6.300000sec
>
>                     user     system      total        real
> for loop         2.300000   0.000000   2.300000 (  2.307566)
> for loop 2       1.660000   0.010000   1.670000 (  1.666218)
> each             1.760000   0.000000   1.760000 (  1.760356)


Relative speed between for (2) and each are similar in JRuby. That 1.9
thing is intriguing.