lua-users home
lua-l archive

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


this is about string interning in Lua:

- is there a limit on the max length for strings to be interned? (it seems that LuaJIT applies interning only on short strings)

- it seems the hash function does not look at all characters in the string, or does it? (not looking at all characters increase speed but also collisions)

   Andrea

--
Andrea Vitali






_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org