mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02: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
|