-- Pins the RuntimeCaches-per-closure regression vs v0.1.0. Pre-split,
-- Rc<Chunk> carried caches inline so all closures of the same chunk
-- shared their field/global/method caches. Post-split, alloc_lua_fn
-- allocates a fresh Arc<RuntimeCaches> per closure, so factory
-- patterns - mk() returning a new closure each call - pay cold-cache
-- cost on every produced closure's first access. This bench measures
-- exactly that pattern.
local
for i = 1, 1500
print