summaryrefslogtreecommitdiff
path: root/bench/intsort.myr
blob: cb7478c1affa34c1e425e4f3f594e5a5b7aa379b (plain)
1
2
3
4
5
6
7
8
9
10
11
use std

const main = {
	var a, i

	a = std.slalloc(500_000)
	for i = 0; i < a.len; i++
		a[i] = std.randnum()
	;;
	std.sort(a, std.numcmp)
}