[erlang-questions] Size of a map key in words

Sverker Eriksson sverker.eriksson@REDACTED
Fri Jun 30 18:49:03 CEST 2017


On 06/30/2017 12:48 AM, Grzegorz Junka wrote:


> Is there any information how the hash function works?
>

Hashing is only used for maps with more than 32 keys.

It's implemented in C here:
https://github.com/erlang/otp/blob/OTP-20.0/erts/emulator/beam/utils.c#L1581


/Sverker




More information about the erlang-questions mailing list