protobuf-go/encoding
Vanja Pejovic b8fc770601 encoding/protodelim: If UnmarshalFrom gets a bufio.Reader, try to reuse its buffer instead of creating a new one
When unmarshalling many messages, this reduces the amount of memory allocated and saves CPU time.

Change-Id: I440b8b223319ba2ed31ce559c125b1d640d5880c
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/491596
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Lasse Folger <lassefolger@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-05-08 20:37:08 +00:00
..
protodelim encoding/protodelim: If UnmarshalFrom gets a bufio.Reader, try to reuse its buffer instead of creating a new one 2023-05-08 20:37:08 +00:00
protojson encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00
prototext encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00
protowire all: update links to Protocol Buffer documentation 2023-02-08 13:52:20 +00:00
bench_test.go all: remove shorthand import aliases 2022-05-24 20:05:50 +00:00