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

Investigate if Jackson 2.15 provided "fast floating-point" improves BigDecimal writes, enable #652

Closed
tatu-at-datastax opened this issue Nov 16, 2023 · 1 comment
Assignees

Comments

@tatu-at-datastax
Copy link
Contributor

As per Blog post:

https://medium.com/@cowtowncoder/jackson-2-15-faster-floating-point-writes-too-19958e310185

Jackson 2.15 already has opt-in feature that improves writing of floating-point values (float, double).
Since Vector use case has to write large arrays of FP values this seems like a potential for improvements.
The only (?) question is whether writing of BigDecimal is improved as well; this is not guaranteed given different underlying number representation.

Testing can be done by modifying one of benchmarks of https://github.com/FasterXML/jackson-benchmarks.

If this shows potential improvement, should also enable this setting for JSON API.

@tatu-at-datastax
Copy link
Contributor Author

Turns out that writing (serialization) of BigDecimal only uses JDK and there is no optimized solution there (unlike with reads, see #653).
Will close this issue.

@tatu-at-datastax tatu-at-datastax closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
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

No branches or pull requests

1 participant