protobuf-go/proto
Reno Reckling 03df6c145d proto: Implement proto.Equal fast-path
Also adds better benchmark cases for large message where some fields are
actually populated.

This change was previously done in Google internal cl/660848520.

Change-Id: I682aae0c9c2850bfe7638de29ab743ad7d7b119a
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/609035
Reviewed-by: Christian Höppner <hoeppi@google.com>
Reviewed-by: Cassondra Foesch <cfoesch@gmail.com>
Reviewed-by: Michael Stapelberg <stapelberg@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-06 16:39:44 +00:00
..
bench_test.go
checkinit_test.go
checkinit.go
decode_gen.go
decode_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
decode.go proto: extend Unmarshal documentation, include an example 2024-03-28 08:17:19 +00:00
doc.go
encode_gen.go
encode_test.go proto: add examples for Size, MarshalAppend (regarding allocations) 2024-04-02 08:46:54 +00:00
encode.go proto: ensure MarshalOptions are plumbed to all Size calls 2024-04-18 07:28:30 +00:00
equal_test.go proto: Implement proto.Equal fast-path 2024-09-06 16:39:44 +00:00
equal.go proto: Implement proto.Equal fast-path 2024-09-06 16:39:44 +00:00
extension_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
extension.go proto: extend documentation of GetExtension, SetExtension 2024-08-27 10:59:06 +00:00
fuzz_test.go all: remove Go 1.17 build tags / workarounds 2024-05-13 14:03:25 +00:00
merge_test.go
merge.go
messageset_test.go all: drop unnecessary import renames for consistency 2024-08-30 09:35:51 +00:00
messageset.go proto: return an error instead of producing invalid wire format 2024-04-18 07:12:00 +00:00
methods_test.go
nil_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
noenforceutf8_test.go all: replace interface{} by any now that we are on Go 1.21 2024-05-15 12:42:15 +00:00
proto_methods.go
proto_reflect.go
proto.go
reset_test.go
reset.go
size_gen.go
size_test.go proto: add examples for Size, MarshalAppend (regarding allocations) 2024-04-02 08:46:54 +00:00
size.go proto: ensure MarshalOptions are plumbed to all Size calls 2024-04-18 07:28:30 +00:00
testmessages_test.go internal/impl: skip unnecessary requiredField checks for oneofs 2024-08-28 08:50:43 +00:00
validate_test.go
weak_test.go
wrappers.go