]> Sergey Matveev's repositories - btrtrc.git/commit
Add AjwernerBtree as an alternative btree backing for piece request order
authorMatt Joiner <anacrolix@gmail.com>
Sat, 18 Dec 2021 05:07:44 +0000 (16:07 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 22 Jan 2022 07:40:33 +0000 (18:40 +1100)
commit934944e498cc166e689701c564252222be693a48
tree8ccafa66dd98911f91a488d6a43ca7cdc1c7b8ec
parentc54dc2259221281a9c2ba5a864a10c3bfeb312e1
Add AjwernerBtree as an alternative btree backing for piece request order

Also add some scans to benchmarks. Make a few changes to reduce allocations using piece request order.
go.mod
go.sum
request-strategy/ajwerner-btree.go [new file with mode: 0644]
request-strategy/order.go
request-strategy/piece-request-order.go
request-strategy/piece-request-order_test.go
request-strategy/tidwall-btree.go [new file with mode: 0644]
torrent-piece-request-order.go