[erlang-questions] maps:keys/1, values/1 stability?

Jesper Louis Andersen jesper.louis.andersen@REDACTED
Sat Dec 12 18:15:32 CET 2015

On Sat, Dec 12, 2015 at 1:16 PM, Nathaniel Waisbrot <nathaniel@REDACTED>

> However, it would _never_ be a good idea to depend on that behavior.

This would be my bet too. One could easily imagine a future in which
garbage collection would compress data down and simplify the heap. This
could mean reordering in hash-like structures such as HAMT. Another case
could be to solve highly colliding terms by running a hash family and
rehashing in certain situations. If your code relies on the order, the
design space is much smaller than it is right now.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151212/827d9837/attachment.htm>

More information about the erlang-questions mailing list