зеркало из https://github.com/github/ruby.git
8 строки
123 B
YAML
8 строки
123 B
YAML
|
prelude: |
|
||
|
s = Struct.new(:a, :b, :c)
|
||
|
x = s.new
|
||
|
benchmark:
|
||
|
vm_struct_small_hset: |
|
||
|
x[:a] = 1
|
||
|
loop_count: 6000000
|