On Thu, Jun 18, 2009 at 10:07 AM, Robert Dober<robert.dober / gmail.com> wrote:

Very interesting benchmarks indeed ARRRGH
Interesting how you can make happen what you want to happen, here are
the correct results
516/23 > ruby -v strings.rb
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
Rehearsal --------------------------------------
+=   0.370000   0.010000   0.380000 (  0.459725)
<<   0.000000   0.000000   0.000000 (  0.002819)
----------------------------- total: 0.380000sec

         user     system      total        real
+=   1.800000   0.230000   2.030000 (  2.145655)
<<   0.010000   0.000000   0.010000 (  0.003220)

518/25 > jruby -v strings.rb
jruby 1.3.0 (ruby 1.8.6p287) (2009-06-06 6586) (OpenJDK Client VM
1.6.0_0) [i386-java]
Rehearsal --------------------------------------
+=   1.350000   0.000000   1.350000 (  1.283000)
<<   0.023000   0.000000   0.023000 (  0.023000)
----------------------------- total: 1.373000sec

         user     system      total        real
+=  25.738000   0.000000  25.738000 ( 25.739000)
<<   0.004000   0.000000   0.004000 (  0.004000)

No happy surprises here, and BTW if you are bored step by reading my posts :(

Apologies
Robert

-- 
Toutes les grandes personnes ont dbord des enfants, mais peu
dntre elles sn souviennent.

All adults have been children first, but not many remember.

[Antoine de Saint-Exupy]