-
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.
Shrink code size of generated protocol buffer code via a few
changes. (1) Use PROTOBUF_NOINLINE attributes to avoid inlining of Clear(), ByteSizeLong() and IsInitialized() routines within the same .pb.cc file (2) If the tag number is less than 16 and the type is one of a handful of common types, call a non-inlined templated routine specialized for that tag number that handles both the EnsureSpace call and the encoding of the tag and the value into the array. PiperOrigin-RevId: 529162319
- Loading branch information
1 parent
fdfb958
commit 97c3513
Showing
5 changed files
with
158 additions
and
120 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.