]> Sergey Matveev's repositories - btrtrc.git/commit
Switch pieceIndex back to an int
authorMatt Joiner <anacrolix@gmail.com>
Tue, 17 Jul 2018 11:28:01 +0000 (21:28 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 17 Jul 2018 11:28:01 +0000 (21:28 +1000)
commit6d6197b0a1b8593e8b64c25c827a8b5ca9ce20d3
tree7fcad4b6f40d3e338c877e33d7946e84261b2adf
parentb00711bb68a2761b10fd502955aa52a06f32ea9c
Switch pieceIndex back to an int

I suspect that interface conversions using packet iter are causing a lot of allocation. Either way, with the casting this adds, we should be able to change pieceIndex's type alias now with minimal code change.
connection.go
file.go
misc.go
reader.go
torrent.go