blob: 54b3aa15e2d53e21a27fd809489536c6418f76c3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
benchmark:
vm2_struct_big_aset: |
s = Struct.new(*('a'..'z').map { |x| x.to_sym })
x = s.new
i = 0
while i<6_000_000 # benchmark loop 2
i += 1
x.k = i # x[10] = i
end
loop_count: 1
|