338 bulk insert mints handles freelist order

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

tally 2
units 6
h 16777216 hp 0
h 16777221 hp 999
h 16777218 hp 20
h 16777220 hp 999
h 4311744515 hp 100
h 4311744513 hp 200

Expected output

tally 2
units 6
h 16777216 hp 0
h 16777221 hp 999
h 16777218 hp 20
h 16777220 hp 999
h 4311744515 hp 100
h 4311744513 hp 200

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (units, capacity: 64, source: hp: i64)
flow ~new click a branch to expand · @labels scroll to their anchor
new (seen, capacity: 16, source: h: 0[i64], hp: 0[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (tally, source: n: 0[i64])
subflow ~fill click a branch to expand · @labels scroll to their anchor
for (0..4)
subflow ~refill click a branch to expand · @labels scroll to their anchor
for (0..2)
subflow ~counter click a branch to expand · @labels scroll to their anchor
rule (units)
subflow ~tallyfill click a branch to expand · @labels scroll to their anchor
for (0..2)
subflow ~cull click a branch to expand · @labels scroll to their anchor
rule (units)
subflow ~cull2 click a branch to expand · @labels scroll to their anchor
rule (units)
subflow ~snap click a branch to expand · @labels scroll to their anchor
rule (units)
flow ~fill click a branch to expand · @labels scroll to their anchor
fill
flow ~tallyfill click a branch to expand · @labels scroll to their anchor
tallyfill
flow ~cull click a branch to expand · @labels scroll to their anchor
cull
flow ~cull2 click a branch to expand · @labels scroll to their anchor
cull2
flow ~refill click a branch to expand · @labels scroll to their anchor
refill
flow ~snap click a branch to expand · @labels scroll to their anchor
snap
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "tally {{ tally.n:d }}")
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "units {{ units.len:d }}")
flow ~query click a branch to expand · @labels scroll to their anchor
query (seen)

Test Configuration

MUST_RUN LANGUAGES: zig

Post-validation Script: