lua-users home
lua-l archive

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

On Fri, Jan 13, 2017 at 9:43 AM, Dirk Laurie <> wrote:
> Isn't it possible to mimic setfenv and getfenv (inefficiently) in
> "pure" Lua 5.3 via the debug library?

Well, naturally but the documentation also warns that the debug
library can be very slow.

_ENV never freaked me out because I never use it ;)  And never missed
setfenv either.