protobuf-go/internal/benchmarks
Damien Neil cadb4ab3b1 internal/impl: refactor validation a bit
Return the size of the field read from the validator, permitting us to
avoid an extra parse when skipping over groups.

Return an UnmarshalOutput from the validator, since it already combines
two of the validator outputs: bytes read and initialization status.

Remove initialization status from the ValidationStatus enum, since it's
covered by the UnmarshalOutput.

Change-Id: I3e684c45d15aa1992d8dc3bde0f608880d34a94b
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/217763
Reviewed-by: Joe Tsai <joetsai@google.com>
2020-02-05 05:32:50 +00:00
..
micro internal/impl: refactor validation a bit 2020-02-05 05:32:50 +00:00
bench_test.go benchmarks: rename to internal/benchmarks 2020-01-09 18:21:53 +00:00
download_benchdata.bash benchmarks: rename to internal/benchmarks 2020-01-09 18:21:53 +00:00