mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
Update ODO
This commit is contained in:
parent
6018450414
commit
2cf161469f
1 changed files with 1 additions and 5 deletions
6
TODO.md
6
TODO.md
|
|
@ -42,6 +42,7 @@
|
||||||
|
|
||||||
## aquatic_udp
|
## aquatic_udp
|
||||||
* handle errors similarily to aquatic_ws, including errors in socket workers
|
* handle errors similarily to aquatic_ws, including errors in socket workers
|
||||||
|
and using log crate
|
||||||
* More tests?
|
* More tests?
|
||||||
* Protocol crate: converter functions should be trait functions
|
* Protocol crate: converter functions should be trait functions
|
||||||
|
|
||||||
|
|
@ -93,16 +94,11 @@
|
||||||
* extract_response_peers
|
* extract_response_peers
|
||||||
* Cleaner code
|
* Cleaner code
|
||||||
* Stack-allocated vector?
|
* Stack-allocated vector?
|
||||||
* Use log crate for errors
|
|
||||||
* Performance
|
* Performance
|
||||||
* mialloc good?
|
* mialloc good?
|
||||||
|
|
||||||
## aquatic_udp_protocol
|
## aquatic_udp_protocol
|
||||||
* Tests with good known byte sequences (requests and responses)
|
* Tests with good known byte sequences (requests and responses)
|
||||||
* Avoid heap allocation in general if it can be avoided?
|
|
||||||
* 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 endian conversion where unnecessary, such as for connection id and
|
* Don't do endian conversion where unnecessary, such as for connection id and
|
||||||
transaction id?
|
transaction id?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue