Skip to content

Optimize CharMatcher.replaceFrom(CharSequence, CharSequence) to use a thread-local character buffer for target lengths <= 1024, eliminating temporary array allocations.#8437

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_918861136

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

Optimize CharMatcher.replaceFrom(CharSequence, CharSequence) to use a thread-local character buffer for target lengths <= 1024, eliminating temporary array allocations.

RELNOTES=n/a

@copybara-service copybara-service Bot force-pushed the test_918861136 branch 14 times, most recently from 269d995 to 6c62f21 Compare May 22, 2026 04:46
… thread-local character buffer for target lengths <= 1024, eliminating temporary array allocations.

RELNOTES=n/a
PiperOrigin-RevId: 918861136
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