start = Time.now

10000000.times do |i|
(a ||= []) << i
end

done = Time.now

puts done-start