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

[CELEBORN-1796] Using java StringBuilder instead of scala wrapped #3021

Closed
wants to merge 1 commit into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Dec 22, 2024

What changes were proposed in this pull request?

As title.

Why are the changes needed?

The Scala StringBuilder is a very thin API that wraps Java's. Using java StringBuilder directly for better performance for below cases:

  1. CelebornColumnarBatchCodeGenBuild
  2. metrics source

Refer: https://issues.apache.org/jira/browse/SPARK-48568

Does this PR introduce any user-facing change?

No.

How was this patch tested?

GA.

@turboFei turboFei changed the title Using java StringBuilder instead of scala wrapped StringBuilder [CELEBORN-1796] Using java StringBuilder instead of scala wrapped StringBuilder Dec 22, 2024
@turboFei turboFei requested a review from pan3793 December 22, 2024 09:47
@turboFei turboFei changed the title [CELEBORN-1796] Using java StringBuilder instead of scala wrapped StringBuilder [CELEBORN-1796] Using java StringBuilder instead of scala wrapped Dec 22, 2024
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.

1 participant