[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Cloning "preforked" Lua state
- From: Pavel Shevaev <pacha.shevaev@...>
- Date: Sat, 5 Sep 2009 22:27:23 +0400
> It could be used i.e. with servers, where currently Lua states need either
> to be recreated from scratch for each query, or carefully restored to known
> "clean" state after finishing a query.
Yep, exactly what I need
> Maybe code from Lanes can be used to copy the entries of the template state.
> I should do some speed tests on that (or do the code and let _you_ run the
> speed tests). ;)
Sure, I would happily test it :)
P.S. I also asked the same question on the stackoverflow  and got
an interesting reply where the user "ijprest" recommended me to have a
look at LuaJIT(for faster startups) and Rings(for cloning states from
Best regards, Pavel