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

Attempt to make main repo mapping inverse more efficient #20617

Closed
wants to merge 1 commit into from

Commits on Dec 19, 2023

  1. Attempt to make main repo mapping inverse more efficient

    During `bazel query`, `Label#getDisplayForm(mainRepoMapping)` might be called many many times. We can optimize for that case without sacrificing too much memory by computing a reverse mapping for the main repo mapping only.
    
    Fixes #20613.
    
    Closes #20617.
    
    PiperOrigin-RevId: 592297440
    Change-Id: Iaaa709a51fe39556f03408080c1fe5e73689b761
    Wyverald authored and copybara-github committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    e1726e2 View commit details
    Browse the repository at this point in the history