From: Maciej Tomaka Date: 2008-07-30T18:50:38+09:00 Subject: Re: Interesting Array Initialization Typo Maciej Tomaka wrote: > tested again on 1.8.6, > previous was on 1.8.4 (2005-12-24) [i486-linux] 1.8.4) > > Rehearsal -------------------------------------- > << 0.742188 0.000000 0.742188 ( 0.748359) > [] 0.570312 0.000000 0.570312 ( 0.567802) > NO 0.007812 0.000000 0.007812 ( 0.009996) > ----------------------------- total: 1.320312sec > > user system total real > << 0.742188 0.000000 0.742188 ( 0.747654) > [] 0.570312 0.000000 0.570312 ( 0.567690) > NO 0.007812 0.000000 0.007812 ( 0.009741) > > > ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-freebsd6] The 'NO' test was wrong. This is retest with code that was pasted before: Rehearsal -------------------------------------- << 0.750000 0.000000 0.750000 ( 0.749043) [] 0.570312 0.000000 0.570312 ( 0.571285) NO 1.054688 0.000000 1.054688 ( 1.056768) ----------------------------- total: 2.375000sec user system total real << 0.750000 0.000000 0.750000 ( 0.745733) [] 0.562500 0.000000 0.562500 ( 0.567207) NO 1.039062 0.000000 1.039062 ( 1.040605) -- Posted via http://www.ruby-forum.com/.