shithub: mc

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