lua-users home
lua-l archive

Re: Incremental GC, step multiplier and finalizers

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


> And anyway, calling lua_gc(L, LUA_GCSTEP, n) has the disadvantage of
> forcing the exit of the gc-paused state (as it calls luaC_forcestep,
> and not luaC_checkGC), so calling it every time a userdata is created
> would practically mean that the GC would never be paused in this
> configuration, which would have an impact on performances, if my
> understanding is correct.
Yes, this is a drawback that we will try to solve in the next version...
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /