[ https://issues.apache.org/jira/browse/FLINK-11724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jingsong Lee updated FLINK-11724: --------------------------------- Description: Blink new binary format is based on MemorySegment. Improve MemorySegment to provide copyToUnsafe copyFromUnsafe and equalTo. 1.copyUnsafe: If we want to copy int[] data into MemorySegment, we can only use int to set Int one by one, which is inefficient. We can copyFromUnsafe directly. 2.equalTo: Provide an efficient equalTo. was: Blink new binary format is based on MemorySegment. 1.Improve MemorySegment to support equalTo(MemorySegment other, int offset1, int offset2, int len), copyToUnsafe copyFromUnsafe 2.Introduce MemorySegmentWritable to let DataOutputView direct copy to internal bytes. > Add util method to MemorySegment > -------------------------------- > > Key: FLINK-11724 > URL: https://issues.apache.org/jira/browse/FLINK-11724 > Project: Flink > Issue Type: Improvement > Components: Core > Reporter: Jingsong Lee > Assignee: Jingsong Lee > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > Blink new binary format is based on MemorySegment. > Improve MemorySegment to provide copyToUnsafe copyFromUnsafe and equalTo. > 1.copyUnsafe: If we want to copy int[] data into MemorySegment, we can only > use int to set Int one by one, which is inefficient. We can copyFromUnsafe > directly. > 2.equalTo: Provide an efficient equalTo. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)