lua-users home
lua-l archive

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


> The threshold string length could be made configurable at compile
> time, in case somebody needed to use many midsize strings as keys,
> or just for any reason preferred the current behavior.
> (would there be drawbacks in giving this choice?)

Not that I can see. But note that a configurable lenght does not offer
the option to keep the current behavior, as strings would always be
hashed (when/if hashed) with all its bytes.

-- Roberto