Revert "src/runtime/hashmap: comments for iterator structure"

This reverts commit 8872229a0b.
This commit is contained in:
Ron Evans
2022-04-04 23:45:16 +02:00
parent b8bf0ac3f1
commit dcd8ee63a8
+5 -5
View File
@@ -41,11 +41,11 @@ type hashmapBucket struct {
}
type hashmapIterator struct {
buckets unsafe.Pointer // pointer to array of hashapBuckets
numBuckets uintptr // length of buckets array
bucketNumber uintptr // current index into buckets array
bucket *hashmapBucket // current bucket in chain
bucketIndex uint8 // current index into bucket
buckets unsafe.Pointer
numBuckets uintptr
bucketNumber uintptr
bucket *hashmapBucket
bucketIndex uint8
}
// Get the topmost 8 bits of the hash, without using a special value (like 0).