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

improve conversion from JsonDocument to string #1806

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

bheni
Copy link
Contributor

@bheni bheni commented May 31, 2023

No description provided.

@bheni bheni requested a review from zachmu May 31, 2023 23:58
"strconv"
)

type NoCopyBuilder struct {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably could use a better name. It's not so much that it doesn't copy. It's that it doesn't copy every time it needs to resize the buffer like string builder does.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name is fine

Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM nice change

"strconv"
)

type NoCopyBuilder struct {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name is fine

@bheni bheni merged commit 6108505 into main Jun 1, 2023
7 checks passed
@bheni bheni deleted the bh/improve-jsondoc-tostring branch June 1, 2023 18:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants