Skip to content

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

Closed
turboFei wants to merge 1 commit intoapache:mainfrom
turboFei:string_builder
Closed

[CELEBORN-1796] Using java StringBuilder instead of scala wrapped#3021
turboFei wants to merge 1 commit intoapache:mainfrom
turboFei:string_builder

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