From 12b6f610b0f1b4157c04f0db264f1f1d0634709b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 27 Dec 2023 12:09:11 -0300 Subject: Several tweaks in the garbage collector - back with step size in collectgarbage("step") - adjustments in defaults for some GC parameters - adjustments in 'luaO_codeparam' --- lgc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index 9aff11f5..b4c4f234 100644 --- a/lgc.h +++ b/lgc.h @@ -171,13 +171,13 @@ ** Major collections will shift to minor ones after a collection ** collects at least LUAI_MAJORMINOR% of the new objects. */ -#define LUAI_MAJORMINOR 80 +#define LUAI_MAJORMINOR 50 /* ** A young (minor) collection will run after creating LUAI_GENMINORMUL% ** new objects. */ -#define LUAI_GENMINORMUL 20 +#define LUAI_GENMINORMUL 25 /* incremental */ -- cgit v1.2.3-55-g6feb