repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

prototypes/p10-lua-plugin-heap-limit/plugins/small.lua

Raw
-- P10 fixture: plugin that stays well under the heap quota.
-- Builds a modest table (a few hundred KB) and returns a summary.
local t = {}
for i = 1, 1000 do
  t[i] = "item-" .. i
end
return { count = #t, note = "small plugin done" }