lua-users home
lua-l archive

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

> For anyone keeping track, [...]

We are keeping track (with great interest!).

> This gives rather better peak memory usage than either
> 5.0.2 or 5.1wX and does not appear to negatively affect
> speed even in the churningest parts of my app (so far).

Can you give the "numbers" (peakmem and FPS compatible with previous
message) for this setting?

> I don't know what function the 2*g->estimate was supposed to serve,

That was a quite ad hoc attempt to emulate the behaviour of 5.0. It
should delay the start of a new GC cycle until the program doubles the
amount of memory it was using after the previous cycle. We were afraid
that, without it, Lua could perform GC cycles too frequently.

-- Roberto