mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
021255f1e7
and also drop a weird newline from benchmark/array_sample.yml.
4 lines
76 B
YAML
4 lines
76 B
YAML
prelude: ary = (1..10_000).to_a
|
|
benchmark:
|
|
- ary.sample
|
|
- ary.sample(2)
|