Skip to content

consider using the unique package for header field names #55

@marten-seemann

Description

@marten-seemann

I'm not really familiar with the unique package, but we might be able to amortize some string allocs by not allocating new strings for header fields when decoding the header.

Of course this makes only for the header field names, not for the values in the general case. We could think about making an excepting for commonly used header field values though. A good starting point would be the QPACK static table, but we could also extend this list later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions