]> Sergey Matveev's repositories - btrtrc.git/commit
When Reader position changes only update piece priorities that may be affected
authorMatt Joiner <anacrolix@gmail.com>
Mon, 31 Oct 2016 08:00:08 +0000 (19:00 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 31 Oct 2016 08:00:08 +0000 (19:00 +1100)
commita8e96ce9962ae3d5b5bc1eee19312ff3e0e81f6a
tree1902f9161ee4303530ceea50d461ea3e40e90d82
parent95f73db7e4ede7c87138d78ded312f35db593f9e
When Reader position changes only update piece priorities that may be affected

Seems to significantly reduce CPU load reading from torrents with huge piece counts.
reader.go
t.go
torrent.go
torrent_test.go