[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: predefined constants
- From: Adrian Sietsma <adrian_groups@...>
- Date: Sat, 24 Jul 2004 14:46:15 -0700
Once the compiled bytecode is loaded into the VM, the strings (and all
Lua strings are constants) are interned, so at execution time it is
simply a pointer comparison.
Great.
I recant - with the behavior as described, there is no need for symbolic
constants : strings ie "STATE_1" will be perfect.
Thanks again.
Adrian