ruby--ruby/benchmark/bm_vm1_ivar.rb

9 lines
78 B
Ruby

@a = 1
i = 0
while i<30_000_000 # while loop 1
i+= 1
j = @a
k = @a
end