Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
Description
As the name implied, ByteString#copyFrom(byte[]) creates a ByteString by copying the given byte array. In some cases (e.g. the byte array is already copied), the copying can be avoided by using Proto2Utils.unsafeByteString(byte[]).
Attachments
Issue Links
- links to