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