lua-users home
lua-l archive

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

> If the emergency collection became the standard behavior of I
> suspect that "beware that opening a file in Lua may trigger a full GC"
> would become one of those dreaded folk-wisdom performance tips.

In a generational collector, any allocation can trigger a major
collection. allocates memory (to create the stream handle),
so this dreaded folk-wisdom performance tip is bound to happen anyway.
(Or maybe not?)

-- Roberto