Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Jan 28, 2026

Further optimization to TextFormatEscaper

In the case of quotes and backslashes (which are the most common things that need escaping) we can avoid going into Utf8 bytes for most cases this way, while also only doing 1 pass over the string when it doesn't need escaping at all.

In the case of quotes and backslashes (which are the most common things that need escaping) we can avoid going into Utf8 bytes for most cases this way, while also only doing 1 pass over the string when it doesn't need escaping at all.

PiperOrigin-RevId: 862375332
@copybara-service copybara-service bot changed the title Fix Java version skew poison pill accidentally throwing after it logs the "major version is off by 1" warning more than 20 times (instead of continuing silently after that threshold). Further optimization to TextFormatEscaper Jan 29, 2026
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