setmeta.lua (207B)
1 local setmetatable = require '__gc' 2 local count=0 3 local m = { 4 __gc = function() count = count+1 end 5 } 6 7 local res={} 8 local tabs={} 9 for i=1,1000000 do 10 table.insert(tabs, setmetatable({},m)) 11 end 12 tabs = nil
ljxFORK: LuaJIT with native 5.2 and 5.3 support | |
| git clone https://git.neptards.moe/neptards/ljx.git | |
| Log | Files | Refs | README |