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

[7.1.0] Attempt to make main repo mapping inverse more efficient #20633

Merged
merged 3 commits into from
Jan 4, 2024

Commits on Dec 21, 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 bazelbuild#20613.
    
    Closes bazelbuild#20617.
    
    PiperOrigin-RevId: 592607904
    Change-Id: Iaaa709a51fe39556f03408080c1fe5e73689b761
    Wyverald authored and bazel-io committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    29e1639 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    366edfa View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    882827d View commit details
    Browse the repository at this point in the history