mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-24 04:38:00 +00:00
Motivation: Header normalisation is expensive when the input headers contain a large number of connection header values. Modifications: - When the headers to normalise contain more than 32 connection header values use a set to provide constant time lookup, rather than linear. Result: Better perf for HTTPHeader normalisation with large connection header value lists.