зеркало из https://github.com/github/ruby.git
* benchmark/bm_vm1_neq.rb, bm_vm1_not.rb: prop set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3db5e76e50
Коммит
b7090e3673
|
@ -1,8 +1,8 @@
|
|||
i = 0
|
||||
obj1 = Object.new
|
||||
obj2 = Object.new
|
||||
|
||||
while i<30000000 # while loop 1
|
||||
i+= 1
|
||||
obj1 != obj2
|
||||
end
|
||||
i = 0
|
||||
obj1 = Object.new
|
||||
obj2 = Object.new
|
||||
|
||||
while i<30000000 # while loop 1
|
||||
i+= 1
|
||||
obj1 != obj2
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
i = 0
|
||||
obj = Object.new
|
||||
|
||||
while i<30000000 # while loop 1
|
||||
i+= 1
|
||||
!obj
|
||||
end
|
||||
i = 0
|
||||
obj = Object.new
|
||||
|
||||
while i<30000000 # while loop 1
|
||||
i+= 1
|
||||
!obj
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче