diff options
author | Björn-Egil Dahlberg <[email protected]> | 2013-10-15 17:21:30 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-01-28 15:56:30 +0100 |
commit | ac2954982d6089b0970798581b2230bdd1a065d5 (patch) | |
tree | 6242f496c93ad46939037c526d6523ebab8722fb /README.md | |
parent | 97d087263e1836f3efb4267e3990219fe3e3c045 (diff) | |
download | otp-ac2954982d6089b0970798581b2230bdd1a065d5.tar.gz otp-ac2954982d6089b0970798581b2230bdd1a065d5.tar.bz2 otp-ac2954982d6089b0970798581b2230bdd1a065d5.zip |
erts: Add Maps to erlang:phash/2 and erlang:hash/2
The hashing a map in these functions uses the same strategy
as the other terms. The exception being a prime number with size
so we do not get erlang:phash(#{}) -> 1 which would be the same
as erlang:phash({}) and erlang:phash(<<>>). Same argument for
erlang:hash/1.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions