lua-users home
lua-l archive

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


Roberto Ierusalimschy wrote:
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.

Is that 'size' an upper-limit on the time taken, or
will it fairly consistantly take a similar length of
time to return?

Thanks,
--Adam