mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +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
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -81,6 +81,7 @@ dependencies = [
|
|||
"hashbrown",
|
||||
"httparse",
|
||||
"indexmap",
|
||||
"itoa",
|
||||
"log",
|
||||
"mimalloc",
|
||||
"mio",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue