lua-users home
lua-l archive

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


Re: the Amped gc issue... what happens if you force a gc every frame?
That should collect all garbage generated during that frame.  It's
probably high total overhead, compared to doing gc periodically because
I'm guessing the collector visits all objects on the Lua heap during gc,
just to collect a frame's worth of garbage, but then it should probably
keep the worst-case gc time within reason.  That is, if your Lua heap size
is within reason...

-Thatcher