[ https://issues.apache.org/jira/browse/FLINK-21498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai closed FLINK-21498. --------------------------------------- Fix Version/s: statefun-3.0.0 Resolution: Fixed flink-statefun/master: e26b4ef9024ac5df37a1d88a226064951ef7ac15 > 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: Task > Components: Stateful Functions > Reporter: Tzu-Li (Gordon) Tai > Assignee: Tzu-Li (Gordon) Tai > Priority: Major > Labels: pull-request-available > Fix For: statefun-3.0.0 > > > 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)