prelude: |
class C
def m
1
end
("A".."M").each do |module_name|
eval <<-EOM
module #{module_name}
def m; super; end
prepend #{module_name}
EOM
obj = C.new
benchmark:
vm_iclass_super: obj.m
loop_count: 6000000