Skip to content

HeaderMap: Store "link" indices as u16 #390

@mbrubeck

Description

@mbrubeck

Indices into the vectors in HeaderMap are guaranteed to fit within u16 (see #386), but the header::map::{Link, Links} types store them as usize.

Changing these fields from usize to u16 would reduce memory footprint and might improve cache-friendliness of HeaderMap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions