-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up CodedOutputStream by extracting rarely-executed string forma…
…tting code If this code is in every method, it's making every method larger, putting pressure on the instruction cache. The string formatting is an exceptional case that shouldn't slow down the regular case. This should modestly speed up the code in here. And besides, it's just a little nicer to have this formatting centralised. PiperOrigin-RevId: 679336304
- Loading branch information
1 parent
ba11052
commit f8f5136
Showing
1 changed file
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters