That would be mostly equivalent, yes. The main difference would be that you'd see undefined references to globals show up as attempts to index a nil value rather than as the nicely formatted errors strict.lua throws. (Well, and I suppose it would perform a touch better on the first assignment to a global variable or when reading nil-valued globals since there would be no intervening metamethods doing runtime checks.)
On Fri, Aug 8, 2014 at 1:26 PM, Thiago L. <fakedme@gmail.com> wrote:
So I can local env = _ENV, throw _ENV away (_ENV = nil) and not use
strict.lua?