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

Tsz-wo Sze commented on HDDS-2274:
----------------------------------

You are right.  The improvement may not be possible since RocksDB API requires 
byte[].  Let me think about it more.

> 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