ruby/benchmark/vm_ivar_generic_get.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 строки
228 B
YAML
Исходник Обычный вид История

prelude: |
class C < Array
attr_reader :a, :b, :c
def initialize
@a = nil
@b = nil
@c = nil
end
end
c = C.new
benchmark:
vm_ivar_generic_get: |
c.a
c.b
c.c
loop_count: 30000000