Re: compile-time globals
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: compile-time globals
- From: Miles Bader <miles.bader@...>
- Date: 2007年8月21日 18:51:28 +0900
Thomas Lauer <thomas.lauer@virgin.net> writes:
> It seems either a separate lint and/or those runtime checks are the
> way to go.
It'd be nice if the runtime checks were as cheap as possible though --
e.g., _G actually contains the global values and doesn't incur an
__index call for every lookup!
Looking at the example "strict" module, it calls "debug" module stuff,
which seems a little bit dodgy to me (I generally have the idea that
the debug module shouldn't be used when not debugging...).
-Miles
--
Next to fried food, the South has suffered most from oratory.
-- Walter Hines Page