ruby/benchmark/vm2_struct_big_aref_lo.yml

8 строки
149 B
YAML

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