impliment garbage collection and move init

This commit is contained in:
2023-03-25 18:19:48 +00:00
parent fa32f7b824
commit bfad2775ee
11 changed files with 64 additions and 31 deletions

8
tests/memoryLeakTest.ar Normal file
View File

@@ -0,0 +1,8 @@
f() = do
a = []
for (i from 0 to 10000000) a.append(i)
term.log("start")
f()
term.log("end")
time.snooze(100000000)