Lua 5.4 GC steps doing too much work/effort?

55 views
Skip to first unread message

Markus Haas

unread,
Jun 2, 2025, 11:24:56 AMJun 2
to lua-l
HI,
a while ago I posted a question in a commit, and now want to ask here in the mailing list:


Just randomly found this interesting commit, which seem to reduce the work per gc step:
Our current background is that we updated to Lua 5.4 and tested a lot in several products the compatibility regarding runtime and memory behaviour to Lua 5.3. In general we understood it, also in terms of garbage collection, and it works good in our products.
A "feeling" was that gc steps do in general a lot more effort than in 5.3, and so we tuned the settings in the advanced application to do less work than the 5.4 defaults.

Can you probably give a short comment what is your background/overall idea of this and other current gc improvements?
Or have others also similar experiences why you tune the settings now?

Thanks a lot for your good work.

Reply all
Reply to author
Forward
0 new messages