]> Sergey Matveev's repositories - btrtrc.git/commit
Ditch the use of generic slices.HeapInterface for finding the worst "bad" connection
authorMatt Joiner <anacrolix@gmail.com>
Mon, 31 Oct 2016 05:24:48 +0000 (16:24 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 31 Oct 2016 05:24:48 +0000 (16:24 +1100)
commit95f73db7e4ede7c87138d78ded312f35db593f9e
tree49965fbbe18884573238c05e0c3228a40df17b84
parenta49e133d8a4a22900b48ecf6ef935b986ead2d39
Ditch the use of generic slices.HeapInterface for finding the worst "bad" connection

It's become a bottleneck. Implement it directly using heap.Interface.
torrent.go
worst_conns.go