summaryrefslogtreecommitdiff
path: root/benchmark/array_sample.yml
blob: 1cd2b34794b3a768349c4faa16d83d95eb919ab1 (plain)
1
2
3
4
prelude: ary = (1..10_000).to_a
benchmark:
  - ary.sample
  - ary.sample(2)