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
* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git]
/
benchmark
/
bm_vm2_zsuper.rb
blob
3a7596040301437deeb590d43e20720c0fb0585f
1
i = 0
2
3
class C
4
def m a
5
1
6
end
7
end
8
9
class CC < C
10
def m a
11
super
12
end
13
end
14
15
obj = CC.new
16
17
while i<6000000 # benchmark loop 2
18
obj.m 10
19
i+=1
20
end