Skip to content

Remove redundant copy in JsonUtil#22941

Closed
pettyjamesm wants to merge 1 commit intotrinodb:masterfrom
pettyjamesm:avoid-extra-copy-in-jsonutil
Closed

Remove redundant copy in JsonUtil#22941
pettyjamesm wants to merge 1 commit intotrinodb:masterfrom
pettyjamesm:avoid-extra-copy-in-jsonutil

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

@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