-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve ByteSize calculation for fields with fixed wire size.
Use popcount with a mask on the has bits to count the number of present fields instead of checking fields one by one with a conditional. PiperOrigin-RevId: 716692546
- Loading branch information
1 parent
3423d7c
commit c58621b
Showing
4 changed files
with
125 additions
and
175 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.