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

Speed up Name Collision Check in Metadata.Builder #83340

Merged

Commits on Jan 31, 2022

  1. Speed up Name Collision Check in Metadata.Builder

    Once either indices, datastreams or their aliases become very numerous, these
    checks of adding everything to a fresh set and then retaining collisions
    become very expensive. Slightly adjusted the logic to just collect collisions
    instead to save endless set adding.
    Also refactored the logic a little to make it easier to profile the time spent
    on these validations and extraced some cold-paths for maybe a minor speedup.
    original-brownbear committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    70f838d View commit details
    Browse the repository at this point in the history