Closed tailhook closed 8 years ago
I mean this one: https://github.com/servo/rust-smallvec
Also, we shouldn't create Vec::with_capacity(MAX_HEADERS) for headers table. We already know number of headers at this point (at it's much smaller than MAX_HEADERS in 99.9% use cases)
Vec::with_capacity(MAX_HEADERS)
I mean this one: https://github.com/servo/rust-smallvec
Also, we shouldn't create
Vec::with_capacity(MAX_HEADERS)
for headers table. We already know number of headers at this point (at it's much smaller than MAX_HEADERS in 99.9% use cases)