]> Sergey Matveev's repositories - btrtrc.git/commit
Revert "Switch requestState to be a slice" v1.44.0
authorMatt Joiner <anacrolix@gmail.com>
Wed, 1 Jun 2022 08:24:50 +0000 (18:24 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 1 Jun 2022 08:24:50 +0000 (18:24 +1000)
commit8ccacbfd17154cedcb99a08438ef4175622ecdd7
tree2c595b413f35799554dcd9480a19fa0653434192
parentf21aeed90e8231a457d3739075822f57a9c618ce
Revert "Switch requestState to be a slice"

This reverts commit 9eb80abc29498ecc8ba2b174457b46ca75296dec.

Via email I received a report of excessive memory use: Memory use with a slice is proportional to the total size of all torrents loaded into the Client, which can be very large.
peerconn.go
torrent.go