mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
aquatic_http: send_response: use itoa and Vec::with_capacity
This leads to fewer allocations and possibly better performance.
This commit is contained in:
parent
8ddccb20aa
commit
f94c52da77
3 changed files with 44 additions and 4 deletions
|
|
@ -24,6 +24,7 @@ flume = "0.7"
|
|||
hashbrown = { version = "0.7", features = ["serde"] }
|
||||
httparse = "1"
|
||||
indexmap = "1"
|
||||
itoa = "0.4"
|
||||
log = "0.4"
|
||||
mimalloc = { version = "0.1", default-features = false }
|
||||
mio = { version = "0.7", features = ["tcp", "os-poll", "os-util"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue