diff options
| author | Artyom Litovets <artemltvc@gmail.com> | 2025-02-14 12:03:06 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-16 06:25:04 -0800 |
| commit | d5b75e40462c2b357df96de3083705d8ea4c8954 (patch) | |
| tree | 4c4c9cbea504097107cf0134faa214dc5c412192 /src/internal/runtime | |
| parent | b38415d7e9abad2a8255c6b527ab7a033851c5f2 (diff) | |
| download | go-d5b75e40462c2b357df96de3083705d8ea4c8954.tar.xz | |
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: 1baa81be5d292d5625d5d7788b8ea090453f962c
GitHub-Pull-Request: golang/go#71730
Reviewed-on: https://go-review.googlesource.com/c/go/+/649416
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal/runtime')
| -rw-r--r-- | src/internal/runtime/maps/group.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/runtime/maps/group.go b/src/internal/runtime/maps/group.go index f3e9d4d12b..6414ee5b9b 100644 --- a/src/internal/runtime/maps/group.go +++ b/src/internal/runtime/maps/group.go @@ -111,7 +111,7 @@ func bitsetShiftOutLowest(b bitset) bitset { // // empty: 1 0 0 0 0 0 0 0 // deleted: 1 1 1 1 1 1 1 0 -// full: 0 h h h h h h h // h represents the H1 hash bits +// full: 0 h h h h h h h // h represents the H2 hash bits // // TODO(prattmic): Consider inverting the top bit so that the zero value is empty. type ctrl uint8 |
