commit | ca6f40c8805ac1ec4c94afccfc99a3f539dbd7f4 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Jan 29 14:39:00 2020 -0800 |
committer | Damien Neil <dneil@google.com> | Wed Jan 29 23:04:27 2020 +0000 |
tree | 42d22a76a0d2f147352644ae6cd5145463714e2f | |
parent | 0ae1c9789a684aa8955cb295a56c556e7a1c4525 [diff] |
proto: make use of fast-path initialization checks Lost the check for the fast-path's Initialized output somewhere. Put it back in. name old time/op new time/op delta Required/Wire/Unmarshal-12 37.8ns ± 1% 30.5ns ± 1% -19.36% (p=0.000 n=8+8) Change-Id: Ica733366d00efba41023339a2bbd68167ab0df53 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/216897 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
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.