Skip to content

Consider a container for arrays [T; N] #20

@antiguru

Description

@antiguru

At the moment, we can store arrays ([T; N]) in slice containers. Slice containers absorb variably-sized elements, and to determine an element's size, it keeps a separate storage for index bounds around.

For fixed-length arrays, we could instead use a specialized container that doesn't maintain bounds, since each element would have the same constant length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions