diff options
Diffstat (limited to 'benchmark/bm_app_strconcat.rb')
-rw-r--r-- | benchmark/bm_app_strconcat.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/benchmark/bm_app_strconcat.rb b/benchmark/bm_app_strconcat.rb index cc0e929da..c6ef81726 100644 --- a/benchmark/bm_app_strconcat.rb +++ b/benchmark/bm_app_strconcat.rb @@ -1,5 +1,5 @@ -i=0
-while i<500000
- "#{1+1} #{1+1} #{1+1}"
- i+=1
-end
+i=0 +while i<500000 + "#{1+1} #{1+1} #{1+1}" + i+=1 +end |