This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
ruby--ruby
mirror of
https://github.com/ruby/ruby.git
Watch
1
Star
0
Fork
You've already forked ruby--ruby
0
Code
Releases
Activity
ecf32dbfc0
ruby--ruby
/
benchmark
/
array_sort_block.rb
3 lines
81 B
Ruby
Raw
Blame
History
ary
=
Array
.
new
(
1000
)
{
rand
(
1000
)
}
10000
.
times
{
ary
.
sort
{
|
a
,
b
|
a
<
=
>
b
}
}
View Git Blame
Copy Permalink