lua-users home
lua-l archive

Re: ANN: Fast String Patch

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Saturday 04 June 2005 3:45 pm, Mike Pall wrote:
> Hi,
>
> 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.
-- 
Javier

Attachment: pgpA6ybOs8uCi.pgp
Description: PGP signature


AltStyle によって変換されたページ (->オリジナル) /