lua-users home
lua-l archive

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



... I would prefer to use lua_gc for this, but lua_gc(LUA_GCCOLLECT)
would only invoke luaC_fullgc( L, 0)... .
Why do you need to invoke luaC_fullgc with a 1 for emergency collection? The only difference is that the emergency collection does not call finalizers and does not resize some structures, but I do not see why not to use lua_gc(LUA_GCCOLLECT).

Regards,
Xmilia