lua-users home
lua-l archive

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


> However, it's pretty hard for users to tune magic numbers like this
> without knowing at least a little about the effect they have, so they
> will know the point at which their program's demands are likely to cause
> the need for a re-tuning session.

Well, this number has a reasonably meaning: it is quite near your 'speed
vs. peak memory usage'. The larger the number, the less intensive is the
GC; less time spent collecting garbage, more garbage accumulating. So,
you should use the larger number that your memory can support. (That is,
larger numbers improve performance up to the point where memory problems
put the performance down again.)

-- Roberto