mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
14 lines
163 B
YAML
14 lines
163 B
YAML
prelude: |
|
|
class C
|
|
def m
|
|
end
|
|
end
|
|
|
|
o = C.new
|
|
m = :m
|
|
benchmark:
|
|
vm_send: |
|
|
o.__send__ :m
|
|
vm_send_var: |
|
|
o.__send__ m
|
|
loop_count: 6000000
|