diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-10-12 10:02:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-10-12 12:29:09 -0300 |
commit | 9a89fb1c9dfeda4640780111f9e9437f08cfad88 (patch) | |
tree | 63b47c65d3881929d45fe63156816157356920a6 /lapi.c | |
parent | c23cc86c542449db47bdb21e9550203309bef045 (diff) | |
download | lua-9a89fb1c9dfeda4640780111f9e9437f08cfad88.tar.gz lua-9a89fb1c9dfeda4640780111f9e9437f08cfad88.tar.bz2 lua-9a89fb1c9dfeda4640780111f9e9437f08cfad88.zip |
Hash always use all characters in a long string
Hashes for long strings are computed only when they are used as keys
in a table, not a too common case. And, in that case, it is to easy to
force collisions changing only the characters which are not part of the
hash.
Diffstat (limited to 'lapi.c')
0 files changed, 0 insertions, 0 deletions