[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Faster cpcall and ENVIRONINDEX (was Re: is it possible to make longjmp-free Lua)
- From: Doug Currie <doug.currie@...>
- Date: Mon, 3 Aug 2009 09:09:17 -0400
On Aug 3, 2009, at 8:15 AM, Juris Kalnins wrote:
two lines marked with /**/ are removed. However, LUA_ENVIRONINDEX
behaves differently than with the original.
The question is how much trouble this difference can cause in
practice, i.e. how widely is LUA_ENVIRONINDEX used by existing
My libraries use LUA_ENVIRONINDEX to maintain a Per-Thread Library
Context (see Lua Gems, Chapter 1).