refined the GC. Now it calls object destructors

This commit is contained in:
cozis
2021-12-06 12:27:34 +01:00
parent dbcf50c71b
commit f751cbcbd5
7 changed files with 216 additions and 64 deletions
+10 -2
View File
@@ -1,10 +1,18 @@
print('Start\n');
i = 0;
n = 10000000;
n = 1000;
while i < n:
{
1 + 1 * 1;
i = i + 1;
print('\r', 100.0 * i / n, '% ');
fun printPercent()
print('\r', 100.0 * i / n, '% ');
printPercent();
}
print('End\n');