Skip to content

Empty vec should not allocate #16

@orxfun

Description

@orxfun

Currently, SplitVec::new() or SplitVec created with other built-in growth strategies allocate the first fragment. Ideally, an empty vector must not allocate any fragments to avoid unnecessary heap allocation.

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