Skip to content

Iterative search for revision should be a binary search #1559

@smoelius

Description

@smoelius

// smoelius: To reiterate a comment from package_options/mod.rs, the `find` below is an
// iterative search and it is causing this test to become increasingly slow. As of this writing,
// the test takes around two minutes. The search should be a binary search.

Referenced comment:
// smoelius: The next iterative search is a bottleneck. It should be a binary
// search.

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