Skip to content

Commit

Permalink
Use the cord ctype for proto generation, where available.
Browse files Browse the repository at this point in the history
This is natural as this field is often large and composed of
the concatenation of many small elements, which can lead to
significant performance improvements.
  • Loading branch information
robertwb committed Mar 10, 2023
1 parent b1ea4d3 commit 6746fbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ message Elements {
// (Optional) Represents a part of a logical byte stream. Elements within
// the logical byte stream are encoded in the nested context and
// concatenated together.
bytes data = 3;
bytes data = 3 [ctype = CORD];

// (Optional) Set this bit to indicate the this is the last data block
// for the given instruction and transform, ending the stream.
Expand Down

0 comments on commit 6746fbe

Please sign in to comment.