mirror of
https://github.com/apple/swift-http-types
synced 2026-11-22 04:30:40 +00:00
### Motivation Checking for equality of multiple http fields creates an array per field name. However, not every field will actually have multiple values, which means we can save array allocations for fields that are only set once. ### Modifications - Added an enum to handle single values without extra allocations ### Result Faster equality checks.