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

Minor: Reduce string allocations in ScalarValue::binary display #12322

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Sep 4, 2024

Which issue does this PR close?

N/A

Rationale for this change

Follow on to #12192 from @lewiszlw

I noticed some improvements that could be made to avoid some allocations

What changes are included in this PR?

Reduce some string copies, add some more test coverage

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the common Related to common crate label Sep 4, 2024
Copy link
Member

@lewiszlw lewiszlw left a comment

Choose a reason for hiding this comment

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

👍🏻

Copy link
Contributor

@crepererum crepererum left a comment

Choose a reason for hiding this comment

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

thank you

@crepererum crepererum merged commit e6caf62 into apache:main Sep 4, 2024
24 checks passed
@alamb alamb deleted the alamb/less_display_copy branch September 5, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to common crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants