3 ms·
> or changing hashtable iteration order. This is a builtin feature of Go. https://blog.golang.org/go-maps-in-action https://blog.golang.org/go-maps-in-action
by nnx 8y ago
> or changing hashtable iteration order.
This is a builtin feature of Go.
https://blog.golang.org/go-maps-in-action https://blog.golang.org/go-maps-in-action
- cpeterso 8y agoInteresting. In contrast, the JavaScript standard says Map object iteration must return values in original insertion order. Firefox used to randomize the iteration order (to help find bugs), but (surprise!) it broke some web content. :( https://bugzilla.mozilla.org/show_bug.cgi?id=743107 https://bugzilla.mozilla.org/show_bug.cgi?id=743107