hyperium / h2

HTTP 2.0 client & server implementation for Rust.
MIT License
1.34k stars 265 forks source link

perf: optimize header list size calculations #750

Closed Noah-Kennedy closed 4 months ago

Noah-Kennedy commented 4 months ago

This speeds up loading blocks in cases where we have many headers already.

Noah-Kennedy commented 4 months ago

Accidentally targeted it at 0.3, though I think this is enough of a perf improvement to justify a backport.

We can just forwardport this to 0.4 after I guess?