]> Sergey Matveev's repositories - btrtrc.git/commit
peer_protocol.Decoder.Decode: Avoid allocating another intermediate reader
authorMatt Joiner <anacrolix@gmail.com>
Sun, 25 Sep 2016 00:31:43 +0000 (10:31 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 25 Sep 2016 00:31:43 +0000 (10:31 +1000)
commit47ef75379574d833830d256663d2a2acac247a69
tree3bf017141968b3fc30122adfd2f445219958dd31
parent23efae91e2620886659c05f9e213f69c0e257392
peer_protocol.Decoder.Decode: Avoid allocating another intermediate reader

On my system, BenchmarkConnectionMainReadLoop goes from 596 to 1311 MB/s.
peer_protocol/protocol.go