Commit d5e43c2
committed
Don't rely on the order of lists returned by maps
For reference:
```
OTP-18414 Application(s): erts, stdlib
Related Id(s): PR-6151
*** HIGHLIGHT ***
Some map operations have been optimized by changing the
internal sort order of atom keys. This changes the
(undocumented) order of how atom keys in small maps are
printed and returned by maps:to_list/1 and maps:next/1.
The new order is unpredictable and may change between
different invocations of the Erlang VM.
```1 parent f206409 commit d5e43c2
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments