mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-06 18:40:55 +00:00
There is little performance benefit to aliasing the input since we copy every field except the options. Thus, just go all the way and copy the options as well and document this as such. Change-Id: If6ca5ce0ee03c9f76e528023b6056ad99d3ca209 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/184879 Reviewed-by: Damien Neil <dneil@google.com>