mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-06 00:55:51 +00:00
670d808a6d
Substitute interface Value.value field with per type field boo and str instead. name old time/op new time/op delta String-4 286ns ± 0% 254ns ± 0% ~ (p=1.000 n=1+1) Bool-4 209ns ± 0% 211ns ± 0% ~ (p=1.000 n=1+1) name old alloc/op new alloc/op delta String-4 192B ± 0% 176B ± 0% ~ (p=1.000 n=1+1) Bool-4 0.00B 0.00B ~ (all equal) name old allocs/op new allocs/op delta String-4 4.00 ± 0% 3.00 ± 0% ~ (p=1.000 n=1+1) Bool-4 0.00 0.00 ~ (all equal) Change-Id: Ib0167d22e60d63c221c303b79c75b9e96d432fe7 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/170277 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
bench_test.go | ||
decode_test.go | ||
decode.go | ||
encode_test.go | ||
encode.go | ||
number.go | ||
string.go | ||
types.go |