repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
benchmark
/
vm_ivar_of_class_set.yml
blob
2ea5199423b00881dfd659339d69d017ece96e79
1
prelude: |
2
class C
3
@a = 1
4
def self.a o
5
@a = o; @a = o; @a = o; @a = o; @a = o; @a = o;
6
end
7
end
8
benchmark:
9
vm_ivar_of_class_set: |
10
a = C.a(nil)
11
loop_count: 30000000