[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git] / benchmark / array_sample_100k__1k.rb
blob4cd79e6c6793c3e518b9242b34bb17824ea7607f
1 arr = [*0...100000]
2 10_000.times {arr.sample 1000}