comparison util/startup.lua @ 13929:203a0b5ade55

util.startup: Add Lua 5.5 GC defaults ~$ lua5.5 Lua 5.5.0 Copyright (C) 1994-2025 Lua.org, PUC-Rio > collectgarbage("param", "minormul") 20 > collectgarbage("param", "majorminor") 50 > collectgarbage("param", "minormajor") 68
author Kim Alvefur <zash@zash.se>
date Wed, 06 Aug 2025 16:48:35 +0200
parents 0c7e11c11968
children d8c001271669
comparison
equal deleted inserted replaced
13928:c9cc84bee17b 13929:203a0b5ade55
18 mode = "incremental"; 18 mode = "incremental";
19 -- Incremental mode defaults 19 -- Incremental mode defaults
20 threshold = 105, speed = 500; 20 threshold = 105, speed = 500;
21 -- Generational mode defaults 21 -- Generational mode defaults
22 minor_threshold = 20, major_threshold = 50; 22 minor_threshold = 20, major_threshold = 50;
23 -- Lua 5.5
24 minor_multiplier = 20;
25 major_minor_threshold = 50;
26 minor_major_threshold = 68;
23 }; 27 };
24 28
25 local arg_settigs = { 29 local arg_settigs = {
26 prosody = { 30 prosody = {
27 short_params = { D = "daemonize"; F = "no-daemonize", h = "help", ["?"] = "help" }; 31 short_params = { D = "daemonize"; F = "no-daemonize", h = "help", ["?"] = "help" };