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