[
https://issues.apache.org/jira/browse/FLINK-19323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201859#comment-17201859
]
Yingjie Cao commented on FLINK-19323:
-------------------------------------
Merged into master via aa62e64902a9dd3904a9049dcc9746682fb9f7fa.
> Small optimization of network layer record serialization
> --------------------------------------------------------
>
> Key: FLINK-19323
> URL: https://issues.apache.org/jira/browse/FLINK-19323
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Network
> Reporter: Yingjie Cao
> Priority: Minor
> Fix For: 1.12.0
>
>
> Currently, when serializing a record, the SpanningRecordSerializer will first
> skip 4 bytes for length and serialize the record. Then it gets the serialized
> record length and skip back to position 0 and write the length field. After
> that, it skip again to the tail of the serialized data. In fact, the last two
> skip can be avoid by writing length field to position 0 directly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)