refactored stress test

This commit is contained in:
2020-11-17 15:13:51 -06:00
parent aaed92424f
commit 4c4b5eae8d
2 changed files with 1 additions and 9 deletions

View File

@@ -9,10 +9,7 @@ class Test
end
-- stressing the GC
local i = 0
while true do
for (var i = 0; ; i=i+1) do
var x = Test("Hello world " .. i)
x.print()
i = i + 1
end