commit | 7fbe2158089898f09d741e991737f282e514ffaa | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Mon Mar 29 15:47:18 2021 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Mon Mar 29 15:47:18 2021 -0300 |
tree | 798f3843c162f260beea1ca2c334dd76a34708eb | |
parent | bf10593a3a912cd3cac69569c7474e687c0d0cd8 [diff] |
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.)
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.