Skip to content

Commit 9460713

Browse files
authored
fix: correct the comment on value size in skl.node (#2250)
**Description** Correct an incorrect comment on the value size in skl.node. Background: the PR #880 changed the value size from uint16 to uint32, but the did not update the comment. **Checklist** - [X] Code compiles correctly and linting passes locally - [X] Tests added for new functionality, or regression tests for bug fixes added as applicable Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
1 parent 10068c8 commit 9460713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skl/skl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type node struct {
4242
// Multiple parts of the value are encoded as a single uint64 so that it
4343
// can be atomically loaded and stored:
4444
// value offset: uint32 (bits 0-31)
45-
// value size : uint16 (bits 32-63)
45+
// value size : uint32 (bits 32-63)
4646
value atomic.Uint64
4747

4848
// A byte slice is 24 bytes. We are trying to save space here.

0 commit comments

Comments
 (0)