lua-users home
lua-l archive

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

On Fri, Jan 6, 2012 at 10:41 AM, Roberto Ierusalimschy
<> wrote:
> The drawbacks would be for programs that use very long keys
> (longer than 32 bytes or some other limit) or that regularly
> compare such long strings between them for equality or that
> create multiple copies of such long strings. I may be wrong,
> but I think neither of these cases are common.

my gut feeling is that you're right for strings longer than 1k or so;
but strings less than 80 doesn't seem unreasonable to compare and use
as key.

does 32 has any nice advantage as a limit? or would 64 work as well?