[erlang-questions] Best Practice in Map keys: Atoms or Binaries (or Strings)?

José Valim jose.valim@REDACTED
Mon Oct 3 11:06:18 CEST 2016


>
> Also, for literal keys the hashing is done at *load time* so it will only
> hash again when it that hash exhausted, typically this will happen if Maps
> are larger then 50000 pairs.
>

Neat. Does this happen only on maps creation or also when updating maps
with := or =>? What about matching on maps?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161003/234e1e6d/attachment.htm>


More information about the erlang-questions mailing list