lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Hi, I am implementing a Lua library and came across setmajorinc as a
> possible option for collectgarbage. I found that it controls how much to
> wait for a major garbage collection in generational mode. How come is this
> feature undocumented and is it safe to include as an option in my library?

Currently, the status of generational collection is undefined, and that
kind of collection can be removed in future versions. We tried hard to
find evidence that this implementation improves the performance of some
programs, but we could find none till now.

-- Roberto