3 ms·
As opposed to Go [0] > When iterating over a map with a range loop, the iteration order is not specified and is not guaranteed to be the same from one iteratio
by ghayes 11y ago
As opposed to Go [0]
> When iterating over a map with a range loop, the iteration order is not specified and is not guaranteed to be the same from one iteration to the next. Since Go 1 the runtime randomizes map iteration order, as programmers relied on the stable iteration order of the previous implementation.
[0] https://blog.golang.org/go-maps-in-action https://blog.golang.org/go-maps-in-action