Re: [ANN] LuaJIT Roadmap 2012/2013

  • From: Mike Pall <mike-1206@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 11 Jun 2012 01:37:02 +0200

Xavier Wang wrote:
> What about _ENV? has some plans to add it into luaJIT?

That would need bigger changes to the VM. Also, this has an
influence on the Lua/C API, which would break compatibility.

_ENV isn't any better than getfenv/setfenv for the practical use
cases. Also, all global accesses would get slower, so there's
little reason to add it.

--Mike

Other related posts: