Skip to content

Use swap_remove in from_vec? #52

@GnomedDev

Description

@GnomedDev

.remove(0) has to copy all elements back, but I'm wondering if ordering could be sacrificed by using swap_remove instead, or another method construction method that uses swap_remove

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