A few more tweaks in the garbage collector

This commit is contained in:
Roberto Ierusalimschy
2024-01-10 14:45:58 -03:00
parent e7af9cdf0b
commit 7827c40c49
5 changed files with 33 additions and 14 deletions

2
lgc.h
View File

@@ -183,7 +183,7 @@
/* incremental */
/* Number of objects must be LUAI_GCPAUSE% before starting new cycle */
#define LUAI_GCPAUSE 300
#define LUAI_GCPAUSE 200
/* Step multiplier. (Roughly, the collector handles LUAI_GCMUL% objects
for each new allocated object.) */