/bench/bm_vm2_array.rb
http://github.com/feyeleanor/RubyGoLightly · Ruby · 5 lines · 5 code · 0 blank · 0 comment · 1 complexity · 9c671f1327c8236ad0724ec9df5d06d0 MD5 · raw file
- i=0
- while i<6000000 # benchmark loop 2
- i = i + 1
- a = [1,2,3,4,5,6,7,8,9,10]
- end