Skip to content

Remove redundant copy in JsonUtil #22941

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

Closed

Conversation

pettyjamesm
Copy link
Member

Description

Avoids an extra byte array copy when creating StringReader inside of JsonUtil.createJsonParser

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@pettyjamesm pettyjamesm requested a review from Dith3r August 5, 2024 18:55
@cla-bot cla-bot bot added the cla-signed label Aug 5, 2024
@wendigo
Copy link
Contributor

wendigo commented Aug 5, 2024

Is the comment and the method still relevant?

@wendigo
Copy link
Contributor

wendigo commented Aug 5, 2024

Seems like no longer needed.

See: https://github.com/palantir/atlasdb/pull/7168/files and FasterXML/jackson-core#1081

@pettyjamesm
Copy link
Member Author

Closing in favor of #22942

@pettyjamesm pettyjamesm closed this Aug 5, 2024
@pettyjamesm pettyjamesm deleted the avoid-extra-copy-in-jsonutil branch August 5, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants