Skip to content

Conversation

@winfriedgerlach
Copy link
Contributor

@winfriedgerlach winfriedgerlach commented Nov 7, 2025

  • the important change avoids a redundant String creation which should improve both memory consumption and CPU load
  • also added a cleanup commit, fine for me if you merge without that commit

@winfriedgerlach winfriedgerlach changed the title Feature/use newer api for better performance use newer api for better performance Nov 7, 2025
@cowtowncoder
Copy link
Member

cowtowncoder commented Nov 7, 2025

@winfriedgerlach Sounds good. One request: could you separate out basic clean up (cast removal, keyword order, no functional change) and then the main fix(es) (avoiding extra String allocation)?

@cowtowncoder cowtowncoder changed the title use newer api for better performance Use newer BigDecimaal api to avoid extra String allocation Nov 7, 2025
@cowtowncoder cowtowncoder changed the title Use newer BigDecimaal api to avoid extra String allocation Use newer BigDecimal api to avoid extra String allocation Nov 7, 2025
@winfriedgerlach winfriedgerlach force-pushed the feature/use-newer-API-for-better-performance branch from 7deb765 to c1915bf Compare November 9, 2025 08:28
@winfriedgerlach
Copy link
Contributor Author

winfriedgerlach commented Nov 9, 2025

@winfriedgerlach Sounds good. One request: could you separate out basic clean up (cast removal, keyword order, no functional change) and then the main fix(es) (avoiding extra String allocation)?

@cowtowncoder sure, rebased on master and removed cleanup commit (which is now #29)

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

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

LGTM

@cowtowncoder cowtowncoder merged commit 4c77a0f into FasterXML:master Nov 10, 2025
1 check passed
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