summaryrefslogtreecommitdiff
path: root/benchmark/array_sort_block.rb
blob: 3579786056addf0c8b12bb0d7fc62abf761cc21a (plain)
1
2
ary = Array.new(1000) { rand(1000) }
10000.times { ary.sort { |a, b| a <=> b } }