FedP2P/iplist
YenForYang a8db640c62
Drop bradfitz/iter dependency (#605)
* Drop bradfitz/iter dependency

`range iter.N` looks nice and doesn't allocate, but unfortunately using a `range` expression blocks a function from being inlined wherever it's used (for now). It's not that we need inlining in all cases, but I do think a C-style for loop looks just as nice and is probably clearer to the majority. There also aren't any clear disadvantages to changing (unless you just happen to dislike the look of C)

* Update misc_test.go

* Update rlreader_test.go

* Update torrent_test.go

* Update bench_test.go

* Update client_test.go

* Update iplist_test.go

* Update mse_test.go

* Update peerconn_test.go

* Update peerconn.go

* Update order_test.go

* Update decoder_test.go

* Update main.go

* Update bench-piece-mark-complete.go

* Update main.go

* Update torrent.go

* Update iplist_test.go

* Update main.go
2021-09-14 13:46:50 +10:00
..
cmd Fixes for wasm 2021-06-23 17:24:50 +10:00
cidr.go iplist: Begin adding support for parsing CIDR lists 2016-12-01 15:41:52 +11:00
cidr_test.go iplist: Begin adding support for parsing CIDR lists 2016-12-01 15:41:52 +11:00
iplist.go Fix iplist.Range.String, and a comment 2018-07-22 12:59:02 +10:00
iplist_test.go Drop bradfitz/iter dependency (#605) 2021-09-14 13:46:50 +10:00
packed.go Fixes for wasm 2021-06-23 17:24:50 +10:00
packed_test.go Support IPv6 blocklists 2018-02-11 15:11:26 +11:00