[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / array_values_at_int.rb
blob6cb394cb9fd8f7ad47a774ad3f1fcad8dec1a3a4
1 ary = Array.new(10000) {|i| i}
2 100000.times { ary.values_at(500) }