Re: predefined constants
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: predefined constants
- From: Rici Lake <lua@...>
- Date: 2004年7月23日 21:37:11 -0500
On 24-Jul-04, at 2:33 PM, Adrian Sietsma wrote:
unless the lua compiler builds a stringtable of literals,
Actually, the loader "builds the stringtable", or rather interns the
strings into the string table.
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.