Skip to content

[8.19] Fix some inefficiencies in FieldsVisitor (#127688) #127709

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

Open
wants to merge 1 commit into
base: 8.19
Choose a base branch
from

Conversation

original-brownbear
Copy link
Member

Backports the following commits to 8.19:

Just a couple obvious finds. No need to start from `null` here,
just makes locality worse to so and adds conditionals. Also, we can save some field lookups
and a needless hot allocation of `BytesRef` that isn't guaranteed to be escape analyzed away.
@original-brownbear original-brownbear added :Search Foundations/Search Catch all for Search Foundations >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.19.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants