[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA_GCSTEP
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 18 Oct 2004 11:10:43 -0200
The call "lua_gc(L, LUA_GCSTEP, data)" runs a "step" of the incremental
garbage collector. The extra argument (data) is the "size" of this step.
The only meaning for this "size" is that larger sizes mean longer
steps. If you really want to use that, you should try experimentally
what is the largest number that do not cause a harmful pause for your
program.
-- Roberto