[
https://issues.apache.org/jira/browse/APEXMALHAR-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634420#comment-15634420
]
David Yan commented on APEXMALHAR-2327:
---------------------------------------
Or maybe just add append(Slice key, Slice value) since its counterpart
(FileReader) is already using Slice all over the place in the interface?
> BucketsFileSystem.writeBucketData() call Slice.toByteArray() cause allocate
> unnecessary memory
> ----------------------------------------------------------------------------------------------
>
> Key: APEXMALHAR-2327
> URL: https://issues.apache.org/jira/browse/APEXMALHAR-2327
> Project: Apache Apex Malhar
> Issue Type: Improvement
> Reporter: bright chen
> Assignee: bright chen
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> BucketsFileSystem.writeBucketData call Slice.toByteArray() instead of using
> Slice.buffer to get the byte array, which create unnecessary byte array as
> Slice.toByteArray() which create new byte array and copy the data.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)