dellingr 0.4.0

An embeddable, pure-Rust Lua VM with precise instruction-cost accounting
Documentation
-- brokkr verdict workload derived from examples/alloc/record_tables.lua
-- (see that file for the probe rationale). Same kernel, repeated K times
-- per _bench call so one call is ~100ms and the standalone run takes a
-- few seconds in a release build.

local function kernel()
    local sum = 0
    for i = 1, 500 do
        local t = {
            a = i,
            b = i + 1,
            c = i + 2,
            d = i + 3,
            e = i + 4,
            f = i + 5,
            g = i + 6,
            h = i + 7,
        }
        sum = sum + t.a + t.b + t.c + t.d + t.e + t.f + t.g + t.h
    end
    return sum
end

local K = 320

function _bench()
    local acc = 0
    for _ = 1, K do
        acc = acc + kernel()
    end
    return acc
end

for i = 1, 30 do _bench() end
print("bench/record_tables: true")