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