shithub: mc

ref: a280bb1386e9a0061591ffbde33cdd2682f2c5f4
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)
}