lua-users home
lua-l archive

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

> It would be nice to be able to specify an
amount of time that you could delegate to Lua for collection. Or,
perhaps some sort of volatile flag could be checked by Lua whilst GC'ing
so that you could interrupt it at will - e.g. on a timer or when you
exit an idle period - mmm which suggests multiple threads. Or, perhaps
there could be a call back to the client application periodically to
check whether GC should wind up.

Or the other way around, which wouldn't suggest threads; have
the client application call lua_bite_size_gc() repeatedly until
some time threshold is passed or something important comes up
in the app.  That would need a 'very incremental' gc though. :)

Adam D. Moss   . ,,^^   co:3