Skip to content

Commit d5b75e4

Browse files
acdefgggopherbot
authored andcommitted
runtime/maps: fix typo in group.go comment (H1 -> H2)
Fixes a typo to correctly describe the hash bits of the control word. Change-Id: Id3c2ae0bd529e579a95258845f9d8028e23d10d2 GitHub-Last-Rev: 1baa81b GitHub-Pull-Request: #71730 Reviewed-on: https://go-review.googlesource.com/c/go/+/649416 Reviewed-by: Keith Randall <[email protected]> Auto-Submit: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent b38415d commit d5b75e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/internal/runtime/maps/group.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func bitsetShiftOutLowest(b bitset) bitset {
111111
//
112112
// empty: 1 0 0 0 0 0 0 0
113113
// deleted: 1 1 1 1 1 1 1 0
114-
// full: 0 h h h h h h h // h represents the H1 hash bits
114+
// full: 0 h h h h h h h // h represents the H2 hash bits
115115
//
116116
// TODO(prattmic): Consider inverting the top bit so that the zero value is empty.
117117
type ctrl uint8

0 commit comments

Comments
 (0)