test: simplify gc testing

This commit is contained in:
Richard 2024-04-20 20:47:25 -07:00
parent 8ca299f671
commit 0c68ff760f
6 changed files with 111 additions and 49 deletions

8
src/utils/collect.luau Normal file
View file

@ -0,0 +1,8 @@
local function collect()
for _ = 1, 1e4 do
local _ = table.create(1e3)
end
task.wait()
end
return collect