[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ANN: Fast String Patch
- From: Javier Guerra <javier@...>
- Date: Sat, 4 Jun 2005 19:32:19 -0500
On Saturday 04 June 2005 3:45 pm, Mike Pall wrote:
> This is an experimental patch against Lua 5.1-work6 to add support
> for "fast strings" to the Lua VM.
how would these fast strings behave as table keys? i'm guessing it'll be
similar to already-interned strings, am i right?
a related question: on a fetch like table.key, is the 'key' string interned at
compile time, or runtime? what about table.["key"]? (with "key" a constant
string). in Xavante there are several of these queries, and i'd like to know
if there's a performance advantage in either one.
Description: PGP signature