lua-users home
lua-l archive

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


On 19/03/2013 07:47, steve donovan wrote:
> 
> I believe Lua 5.2 has made some progress in re-using closures that
> have no upvalues.  LuaJIT may well optimize it to nothing ;)
> 
No it cannot, because of getfenv and setfenv.

http://lua-users.org/lists/lua-l/2010-05/msg00617.html