lua-users home
lua-l archive

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


On Mon, Dec 11, 2017 at 11:04 AM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On 10 December 2017 at 04:21, Daurnimator <quae@daurnimator.com> wrote:
> strings with identical hash.  very easy to generate; but in our code
> base, all external inputs that end up as table keys are size limited
> to at most a couple hundred.

What about string interning (which AFAIK uses a hash table
internally)? Do you limit the string length before passing them to
Lua? Or is it irrelevant for LuaJIT?

—Pierre-Yves