Last active
November 1, 2020 18:23
-
-
Save marawannwh/1987652e7e44b228aa1b1c578b3ac19e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// map bucket | |
type bmap struct { | |
tophash [8]uint8 | |
keys [8]keyType | |
values [8]valueType | |
} | |
// map header | |
type hmap struct { | |
B uint8 | |
buckets *[1<<B]bmap | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment