aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-03-29 15:47:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2021-03-29 15:47:18 -0300
commit7fbe2158089898f09d741e991737f282e514ffaa (patch)
tree798f3843c162f260beea1ca2c334dd76a34708eb /manual
parentbf10593a3a912cd3cac69569c7474e687c0d0cd8 (diff)
downloadlua-7fbe2158089898f09d741e991737f282e514ffaa.tar.gz
lua-7fbe2158089898f09d741e991737f282e514ffaa.tar.bz2
lua-7fbe2158089898f09d741e991737f282e514ffaa.zip
New hash function for integer keys
When integer keys do not form a sequence, it is better to use all their bits to compute their hashes. (The previous implementation was quite bad for integer keys with common lower bits, and disastrous for integer keys changing only in their upper 32 bits.)
Diffstat (limited to 'manual')
0 files changed, 0 insertions, 0 deletions