shithub: mc

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