repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* string.c (rb_str_splice_0): call rb_str_drop_bytes, not rb_str_drop.
[ruby-svn.git]
/
benchmark
/
bm_vm2_super.rb
blob
70c86b376f7208025b6000a6e51a131917965231
1
2
class C
3
def m
4
1
5
end
6
end
7
8
class CC < C
9
def m
10
super()
11
end
12
end
13
14
obj = CC.new
15
16
i = 0
17
while i<6000000 # benchmark loop 2
18
obj.m
19
i+=1
20
end