Go的spec从来没说过map的遍历是随机的
The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next.
Map 的遍历顺序是无指定,跟满足一定分布的随机是两回事。
Go的spec从来没说过map的遍历是随机的
The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next.
Map 的遍历顺序是无指定,跟满足一定分布的随机是两回事。