Tzu-Li (Gordon) Tai created FLINK-21498:
-------------------------------------------
Summary: Avoid copying when converting byte[] to ByteString in
StateFun
Key: FLINK-21498
URL: https://issues.apache.org/jira/browse/FLINK-21498
Project: Flink
Issue Type: Bug
Components: Stateful Functions
Reporter: Tzu-Li (Gordon) Tai
Assignee: Tzu-Li (Gordon) Tai
There's a few places in StateFun where we can be more efficient with byte[] to
Protobuf ByteString conversions, by just wrapping the byte[] instead of
copying, since we know that the byte array can no longer be mutated.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)