shithub: mc

ref: c33620540f35a1e64e0a60ee885520cfde9e8471
dir: /bench/intsort.myr/

View raw version
use std

const main = {
	var a
	var i
	var rng

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