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

Avoid allocating redundant Strings #13085

Merged
merged 3 commits into from Feb 23, 2024
Merged

Conversation

sabi0
Copy link
Contributor

@sabi0 sabi0 commented Feb 7, 2024

Removed unnecessary toString() / substring() calls to avoid extra Strings being allocated

Removed unnecessary `toString()` / `substring()` calls to avoid extra Strings being allocated
Copy link
Contributor

@dweiss dweiss left a comment

Choose a reason for hiding this comment

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

Some terrible cruft in there, thank you. Please add the changes entry and credit yourself.

@sabi0
Copy link
Contributor Author

sabi0 commented Feb 7, 2024

Done.
I keep forgetting about this, sorry.

Copy link

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!

@github-actions github-actions bot added the Stale label Feb 22, 2024
Copy link
Contributor

@stefanvodita stefanvodita left a comment

Choose a reason for hiding this comment

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

Thank you for the changes @sabi0 and @dweiss for reviewing. This should be ready to merge.

@github-actions github-actions bot removed the Stale label Feb 23, 2024
@stefanvodita stefanvodita merged commit 8f759d5 into apache:main Feb 23, 2024
4 checks passed
@stefanvodita stefanvodita added this to the 9.11.0 milestone Feb 23, 2024
@stefanvodita
Copy link
Contributor

Done. I just had to move the CHANGES entry up.
@sabi0 - the clean-up work you've been doing is really appreciated!

@sabi0
Copy link
Contributor Author

sabi0 commented Feb 27, 2024

Thank you, @stefanvodita

@sabi0 sabi0 deleted the redundant_strings branch February 27, 2024 17:56
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.

None yet

3 participants