mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 11:33:59 +00:00
Revert "src/runtime/hashmap: comments for iterator structure"
This reverts commit 8872229a0b.
This commit is contained in:
@@ -41,11 +41,11 @@ type hashmapBucket struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type hashmapIterator struct {
|
type hashmapIterator struct {
|
||||||
buckets unsafe.Pointer // pointer to array of hashapBuckets
|
buckets unsafe.Pointer
|
||||||
numBuckets uintptr // length of buckets array
|
numBuckets uintptr
|
||||||
bucketNumber uintptr // current index into buckets array
|
bucketNumber uintptr
|
||||||
bucket *hashmapBucket // current bucket in chain
|
bucket *hashmapBucket
|
||||||
bucketIndex uint8 // current index into bucket
|
bucketIndex uint8
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the topmost 8 bits of the hash, without using a special value (like 0).
|
// Get the topmost 8 bits of the hash, without using a special value (like 0).
|
||||||
|
|||||||
Reference in New Issue
Block a user