Move lenType definition to runtime (partially)

This commit is contained in:
Ayke van Laethem
2018-08-29 20:48:56 +02:00
parent abaae5b90d
commit bf160d096b
5 changed files with 24 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import (
type hashmap struct {
next *hashmap // hashmap after evacuate (for iterators)
buckets unsafe.Pointer // pointer to array of buckets
count uint
count lenType
keySize uint8 // maybe this can store the key type as well? E.g. keysize == 5 means string?
valueSize uint8
bucketBits uint8