2018-07-08 13:03:23 -04:00
|
|
|
prelude: |
|
|
|
|
s = Struct.new(*('a'..'z').map { |x| x.to_sym })
|
|
|
|
x = s.new
|
2018-07-08 11:35:22 -04:00
|
|
|
benchmark:
|
2020-04-14 00:37:42 -04:00
|
|
|
vm_struct_big_aref_lo: |
|
2018-07-08 13:19:57 -04:00
|
|
|
x.k # x[10]
|
2018-07-08 13:03:23 -04:00
|
|
|
loop_count: 6000000
|