lua-users home
lua-l archive

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


> I'm interested in the possibility of using LUA in semi real-time
> applications. This is not hard real time, but I can not tolerate the GC
> stepping in a couple of seconds once in a while.

Your program must have a lot of objects to take a couple of seconds from
the GC. In typical programs one GC cicle takes less than 1/10 second.
(Nevertheless, you can always use "collectgarbage", as suggested by lhf.
If you call it with INT_MAX, for instance, you will stop the collector)

-- Roberto