xref
: /
dports
/
lang
/
ruby26
/
ruby-2.6.9
/
benchmark
/
array_sample_100k___50k.rb
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
arr
= [*
0
...
100000
]
2
10_000
.
times
{
arr
.
sample
50_000
}
3