summaryrefslogtreecommitdiff
path: root/benchmark/array_values_at_int.rb
blob: 6cb394cb9fd8f7ad47a774ad3f1fcad8dec1a3a4 (plain)
1
2
ary = Array.new(10000) {|i| i}
100000.times { ary.values_at(500) }