Skip to content

Conversation

@kilink
Copy link
Contributor

@kilink kilink commented Oct 23, 2025

The inRightLocation helper was recently optimized to remove Stream usage, however creation of the intermediary List is not necessary at all, and String allocations can be avoided by using equalsIgnoreCase.

Additionally, make some other methods static where possible.

The inRightLocation helper was recently optimized to remove Stream usage, however creation
of the intermediary List is not necessary at all, and String allocations can be avoided by
using equalsIgnoreCase.

Additionally, make some other methods static where possible.
Copy link
Member

@bbakerman bbakerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for that

@bbakerman bbakerman added this to the 25.x breaking changes milestone Oct 24, 2025
@bbakerman bbakerman merged commit 01b880b into graphql-java:master Oct 24, 2025
4 checks passed
@kilink kilink deleted the is-right-location-allocations branch October 24, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants