[ 
https://issues.apache.org/jira/browse/HDDS-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969345#comment-16969345
 ] 

Attila Doroszlai commented on HDDS-2274:
----------------------------------------

Hi [~szetszwo], can you please clarify the idea of how this could be improved?  
As far as I see, we need to convert to {{byte[]}} anyway, to store data in 
RocksDB.

> Avoid buffer copying in Codec
> -----------------------------
>
>                 Key: HDDS-2274
>                 URL: https://issues.apache.org/jira/browse/HDDS-2274
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Tsz-wo Sze
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> Codec declares byte[] as a parameter in fromPersistedFormat(..) and a return 
> type in toPersistedFormat(..).  It leads to buffer copying when using it with 
> ByteString.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to