summaryrefslogtreecommitdiff
path: root/benchmark/array_sample_100k___10k.rb
blob: 5dd55ec058330b7f42664b60bbd4cefa205bb7e7 (plain)
1
2
arr = [*0...100000]
10_000.times {arr.sample 10_000}