Skip to content

Copy the new Vec::retain implementation into the retain_mut function #87

Closed
@Kerollmops

Description

@Kerollmops

In some previous PRs (#83, #85), we introduced the retain_mut helper function that permits the modification of the visited elements by giving a &mut of the elements. Now that the standard library Vec::retain function was rewritten and gives more than 20% performance improvement, it would be cool to patch our own function too!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions