Michael Stapelberg 0e932930c8 internal/impl: enable fully lazy extensions (over Size and Marshal)
Extensions will be kept in wire format over proto.Size and proto.Marshal.

This change is a significant performance optimization for jobs that read and
write Protobuf messages of the same type, but do not need to process extensions.

This change is based on work by Patrik Nyblom.

Note that the proto.Size semantics for lazy messages might be surprising;
see https://protobuf.dev/reference/go/size/ for details.

We have been running this change for about two weeks in Google,
all known breakages have already been addressed with CL 579995.

related to golang/protobuf#1609

Change-Id: I16be78d15304d775bb30e76356a1a61d61300b43
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/580015
Reviewed-by: Lasse Folger <lassefolger@google.com>
Auto-Submit: Michael Stapelberg <stapelberg@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-15 08:56:13 +00:00
..
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2022-01-04 22:57:54 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00
2024-02-23 09:30:28 +00:00