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

Implement DiffableStringMap's get and containsKey in terms of the wrapped innerMap #77965

Merged
merged 1 commit into from
Sep 17, 2021

Commits on Sep 16, 2021

  1. Implement get and containsKey in terms of the wrapped innerMap

    In practice, the wrapped innerMap is either empty or a HashMap, so we
    can get much better performance here by delegating to it for these
    methods -- as opposed to using the default implementations from
    AbstractMap which do a linear scan through via an iterator() of the
    entrySet().
    joegallo committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    5852a88 View commit details
    Browse the repository at this point in the history