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

Enable Fast Floating-Point reading/writing by default in 3.0 #1231

Closed
cowtowncoder opened this issue Mar 2, 2024 · 0 comments
Closed

Enable Fast Floating-Point reading/writing by default in 3.0 #1231

cowtowncoder opened this issue Mar 2, 2024 · 0 comments
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Milestone

Comments

@cowtowncoder
Copy link
Member

For Jackson 2.x we have following features disabled by default:

  • StreamReadFeature.USE_FAST_DOUBLE_PARSER
  • StreamReadFeature.USE_FAST_BIG_NUMBER_PARSER
  • StreamWriteFeature.USE_FAST_DOUBLE_WRITER

that is, for FP reading to use default JDK implementation and not one from FastDoubleParser (read) / Schubfach (write). This to minimize any chance of breakage, to require users to opt-in for optimized handling.

Since there hasn't been reports of issues during the time we've had (since 2.14, more than a year), it seems reasonable to assume things work well: so let's enable "fast FP" handling by default for 3.0.
We can still consider similar change for later 2.x, but let's start with 3.0.

@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label Mar 2, 2024
@cowtowncoder cowtowncoder added this to the 3.0.0 milestone Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.x Issues to be only tackled for Jackson 3.x, not 2.x
Projects
None yet
Development

No branches or pull requests

1 participant