ref: ff88594df5c5df6fb8f227ab8e5df3529ba6e72f
dir: /bench/intsort.myr/
use std use testr const main = { testr.bench([ [.name="fill-sort", .fn={ctx; benchsort()}] ][:]) } const benchsort = { var a, i a = std.slalloc(500_000) for i = 0; i < a.len; i++ a[i] = std.randnum() ;; std.sort(a, std.numcmp) std.slfree(a) }