We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6daf022 commit 02df9bbCopy full SHA for 02df9bb
src/reflect/map_swiss.go
@@ -71,6 +71,7 @@ func MapOf(key, elem Type) Type {
71
mt.Hasher = func(p unsafe.Pointer, seed uintptr) uintptr {
72
return typehash(ktyp, p, seed)
73
}
74
+ mt.GroupSize = mt.Group.Size()
75
mt.SlotSize = slot.Size()
76
mt.ElemOff = slot.Field(1).Offset
77
mt.Flags = 0
0 commit comments