Max length of string keys in hash tables
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Max length of string keys in hash tables
- From: Wendell xe <wendellxe@...>
- Date: 2010年4月30日 10:59:49 -0700 (PDT)
In _The implementation of Lua 5.0_, it says "The hash function does not look at all bytes of the string if the string is too long."
What is n such that strings that differ only from index n+1 will be evaluated as the same by Lua?