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