|author||Damien Neil <firstname.lastname@example.org>||Thu Jan 09 14:13:57 2020 -0800|
|committer||Damien Neil <email@example.com>||Thu Jan 09 23:00:50 2020 +0000|
internal/impl: omit isInit func when not needed When generating the fast-path functions for a message, group, repeated message, or repeated group field, check to see if the field message type requires initialization checks. If not, leave the isInit func unset. This permits the fast-path isInitialized to skip over these fields entirely. Change-Id: Icb5c380077d2216c4215bb0ebc16408e905aaece Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/214179 Reviewed-by: Joe Tsai <firstname.lastname@example.org>
WARNING: This repository is in active development. There are no guarantees about API stability. Breaking changes will occur until a stable release is made and announced.
This repository is for the development of the next major Go implementation of protocol buffers. This library makes breaking API changes relative to the existing Go protobuf library. Of particular note, this API aims to make protobuf reflection a first-class feature of the API and implements the protobuf ecosystem in terms of reflection.
List of relevant design documents:
We appreciate community contributions. See CONTRIBUTING.md.
Issues regarding the new API can be filed at github.com/golang/protobuf. Please use a
APIv2: prefix in the title to make it clear that the issue is regarding the new API work.