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

Improve Painless compilation performance for nested conditionals #52056

Merged
merged 2 commits into from
Feb 7, 2020

Commits on Feb 7, 2020

  1. Improve Painless compilation performance for nested conditionals

    This PR changes how conditional expression is handled in `PainlessParser`
    in a way that avoids the need for backtracking, which led to exponential
    compilation times in case of nested conditionals.
    
    The test was added ensures that we can compile deeply nested conditionals.
    probakowski committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    c7c6cef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f76bd64 View commit details
    Browse the repository at this point in the history