mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_http: rewrite request parsing, use smartstring
Use smartstring in PeerMapKey too. Improves benchmark speed. request-from-path: time: [2.1484 us 2.1530 us 2.1586 us] change: [-24.246% -23.908% -23.570%] (p = 0.00 < 0.01) Performance has improved.
This commit is contained in:
parent
fc9b4c8e0d
commit
9df1f0ecc6
10 changed files with 1069 additions and 1057 deletions
2
TODO.md
2
TODO.md
|
|
@ -24,7 +24,7 @@
|
|||
### less important
|
||||
* use fastrand instead of rand? (also for ws and udp then I guess because of
|
||||
shared function)
|
||||
* use smartstring crate for announce request key and failure response reason?
|
||||
* use smartstring crate for failure response reason?
|
||||
* request parsing in protocol module instead of in network, maybe from byte
|
||||
buffer? Not obvious what error return type to use then (anyhow maybe?)
|
||||
* log more info for all log modes (function location etc)? also for aquatic_ws
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue