Skip to content

Vec/Str need an efficient way to shift() multi-items #12884

Closed
@liigo

Description

@liigo

to avoid copy/alloc/realloc memory.

in C or unsafe code, you just need to offset the data pointer and len-=n.

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