Skip to content

Fix #1284: avoid buffering-as-String for JsonParser.getFloat()/getDouble()/getDecimal() #1313

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

Merged
merged 5 commits into from
Jun 25, 2024

Conversation

cowtowncoder
Copy link
Member

@cowtowncoder cowtowncoder commented Jun 25, 2024

Looks like there was a bug in #1230 which prevent speed up, fixed with this PR.

And with that, looks like:

  1. "Fast" Double parsing for test case goes up by +15%
  2. "Fast" BigDecimal parsing goes up by +30% (!!!)

but somewhat interestingly, even non-fast handling has some improvement (esp. for BigDecimal).

@cowtowncoder cowtowncoder added the 2.18 Issues planned at earliest for 2.18 label Jun 25, 2024
@cowtowncoder cowtowncoder merged commit a5c3d99 into 2.18 Jun 25, 2024
9 checks passed
@cowtowncoder cowtowncoder deleted the tatu/2.18/1284-getdouble-without-buffering branch June 25, 2024 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.18 Issues planned at earliest for 2.18
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant