[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: constants?
- From: "Nick Trout" <nick@...>
- Date: Tue, 14 Oct 2003 12:02:22 -0700
> From: Pedro Miller Rabinovitch
> Sent: Tuesday, October 07, 2003 8:21 AM
>
> On Tuesday 07 October 2003 06:53, Brett Bibby wrote:
> > Does lua support preprocessor constants? I'm guessing no by the
> > archived notes I did see. As a lua newbie, is there a technical
reason
> > it's not supported?
>
> I've never really felt the need for them.
I know they're not strictly necessary, but you should get smaller,
faster Lua VM code if you use a pre-processor. The variable names are
not stored, and they don't have to be looked up in a table (global or
user) to find the value.
Nick