]> Sergey Matveev's repositories - btrtrc.git/commit
Tons of webseed optimizations
authorMatt Joiner <anacrolix@gmail.com>
Fri, 1 Aug 2025 13:51:28 +0000 (23:51 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Fri, 1 Aug 2025 13:51:46 +0000 (23:51 +1000)
commit59b411afcd4b50a6f999128f228d3c31c49db112
tree6ab6aab6b377bbf0004736fc804cab132dbef881
parent68f9141f1d7120325de85654e9fbaccbfc67a20d
Tons of webseed optimizations

Avoid extra allocation in firstDirtyChunk
Allow multiple requests per file (now called slices or webseed chunks)
Reduce many allocations and extra work in webseed heap ordering
Add webseed request update pprof labels
Use a larger buffer for copying webseed response parts
client.go
math.go
piece.go
torrent.go
webseed-peer.go
webseed-requesting.go
webseed/client.go