shithub: mc

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