Skip to content

Implement ShortVec for heap vectors #122

Open
@aapoalas

Description

@aapoalas

Our heap vectors can only go up to 2^32 items but still store their length and capacity as usize which supports up to 2^64 items on a 64-bit machine. This wastes 8 bytes per heap vector. We should implement a ShortVec that uses u32 as the storing size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    technicalRequires building something new and exciting in Rust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions