1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/bm_vm1_neq.rb

9 lines
102 B
Ruby
Raw Normal View History

i = 0
obj1 = Object.new
obj2 = Object.new
while i<30000000 # while loop 1
i+= 1
obj1 != obj2
end