]> Sergey Matveev's repositories - btrtrc.git/commit
Add torrent.completedPieces bitmap
authorMatt Joiner <anacrolix@gmail.com>
Tue, 16 Feb 2016 13:00:55 +0000 (00:00 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 16 Feb 2016 13:00:55 +0000 (00:00 +1100)
commit0f9f7ba01b928ba450448e50b2ea7c11c4dc7126
treedbd7eb693531035b530406a7622bc2c932f20e16
parentbe6052912f1feb268ca0e1d7f73ef5da6cd0f3c9
Add torrent.completedPieces bitmap

Reduce load on data.PieceComplete for torrents with lots of pieces, when reader position changes. Not sure of the improvement yet.
client.go
client_test.go
torrent.go