Last active
July 21, 2018 04:22
-
-
Save shiyanhui/e7968c7e3a76dcd38dc399fb0f79bf91 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
package main | |
import ( | |
"time" | |
) | |
type InfohashIPType uint64 | |
func main() { | |
table := make(map[InfohashIPType]struct{}, 100000000) | |
var i uint64 | |
for i = 0; i < 100000000; i++ { | |
table[InfohashIPType(i)] = struct{}{} | |
} | |
time.Sleep(time.Minute) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment