Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce and prevent unnecessary random-access to List #90705

Merged
merged 1 commit into from
May 7, 2024

Commits on May 4, 2024

  1. Reduce and prevent unnecessary random-access to List

    Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
    accessing a single element)
    
    * Removed subscript operator, in favor of a more explicit `get`
    * Added conversion from `Iterator` to `ConstIterator`
    * Remade existing operations into other solutions when applicable
    AThousandShips committed May 4, 2024
    Configuration menu
    Copy the full SHA
    955d5af View commit details
    Browse the repository at this point in the history