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