summaryrefslogtreecommitdiff
path: root/benchmark/array_values_at_range.rb
blob: 5b53806d1ca974d58bf2d5a545758c137e7b5557 (plain)
1
2
ary = Array.new(10000) {|i| i}
100000.times { ary.values_at(1..2000) }