Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/impl: better fast-path init checks for extensions
Unknown extensions are initialized. Valid extensions with no isInit func are initialized. Change-Id: I2975c7ef85d2b777eca467d3b1861d20de8e24fc Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/216960 Reviewed-by: Joe Tsai <joetsai@google.com>
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 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