Skip to content

proto: Leverage BTreeMap::extract_if in RangeSet for better performance #2422

@Ralith

Description

@Ralith

BTreeMap::extract_if was stabilized in Rust 1.91. It could be used to avoid repeatedly traversing the BTreeMap from the root in insert and perhaps elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions