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

refactory string concat for StringBuilder in NoSQLPage.java #495

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RuanNunes
Copy link
Contributor

@RuanNunes RuanNunes commented Apr 1, 2024

This pull request includes a change to the toString() method in the NoSQLPage.java file. The change replaces the previous string concatenation method with a StringBuilder to build the string, which can improve performance.

@genie-jnosql
Copy link
Collaborator

Can one of the admins verify this patch?

@RuanNunes RuanNunes changed the title fix string concat for StringBuilder in NoSQLPage.java refactory string concat for StringBuilder in NoSQLPage.java Apr 2, 2024
@hantsy
Copy link

hantsy commented Jul 14, 2024

which can improve performance.

Using Java 8+ it is almost the same performance.

@otaviojava
Copy link
Member

Hey @RuanNunes sorry by the delay:

  1. Please update the Eclipse ECA, thus allowing us to move it forward.
  2. with the newest version and the compilation improvements, it does not impact much on Java 11 and higher.

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.

4 participants