diff options
Diffstat (limited to 'benchmark/bm_vm2_array.rb')
-rw-r--r-- | benchmark/bm_vm2_array.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/benchmark/bm_vm2_array.rb b/benchmark/bm_vm2_array.rb index d1a989c7e5..e29c11200f 100644 --- a/benchmark/bm_vm2_array.rb +++ b/benchmark/bm_vm2_array.rb @@ -1,5 +1,5 @@ -i=0
-while i<6000000 # benchmark loop 2
- i+=1
- a = [1,2,3,4,5,6,7,8,9,10]
-end
+i=0 +while i<6000000 # benchmark loop 2 + i+=1 + a = [1,2,3,4,5,6,7,8,9,10] +end |