ruby/benchmark/vm_struct_big_aref_lo.yml

8 строки
148 B
YAML

prelude: |
s = Struct.new(*('a'..'z').map { |x| x.to_sym })
x = s.new
benchmark:
vm_struct_big_aref_lo: |
x.k # x[10]
loop_count: 6000000