mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Update TODO
This commit is contained in:
parent
b457df26e3
commit
91c764d143
1 changed files with 4 additions and 1 deletions
5
TODO.md
5
TODO.md
|
|
@ -5,6 +5,7 @@
|
||||||
* Run multiple threads to test performance when contested?
|
* Run multiple threads to test performance when contested?
|
||||||
* Iterate over whole returned buffer and run e.g. xor on it (.iter().fold())
|
* Iterate over whole returned buffer and run e.g. xor on it (.iter().fold())
|
||||||
* Generic bench function since current functions are almost identical
|
* Generic bench function since current functions are almost identical
|
||||||
|
* Show percentile stats for peers per torrent
|
||||||
* Tests of aquatic and bittorrent_udp (quickcheck, test cases)
|
* Tests of aquatic and bittorrent_udp (quickcheck, test cases)
|
||||||
|
|
||||||
## Not important
|
## Not important
|
||||||
|
|
@ -26,7 +27,9 @@
|
||||||
* bittorrent_udp
|
* bittorrent_udp
|
||||||
* ParseError enum maybe, with `Option<TransactionId>`
|
* ParseError enum maybe, with `Option<TransactionId>`
|
||||||
* Avoid heap allocation in general if it can be avoided?
|
* Avoid heap allocation in general if it can be avoided?
|
||||||
* Optimize bytes to scrape request: Vec::with_capacity or other solution (SmallVec?)
|
* request from bytes for scrape: use arrayvec with some max size for
|
||||||
|
torrents? With Vec, allocation takes quite a bit of CPU time
|
||||||
|
* Optimize bytes to scrape request: Vec::with_capacity or other solution (SmallVec?)
|
||||||
|
|
||||||
# Don't do
|
# Don't do
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue