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

Zhe Zhang commented on HDFS-10653:
----------------------------------

Thanks Daryn for the patch and Jing for the review. I quickly tried and there's 
only a minor conflict to 2.6. I'll try to backport now.

> Optimize conversion from path string to components
> --------------------------------------------------
>
>                 Key: HDFS-10653
>                 URL: https://issues.apache.org/jira/browse/HDFS-10653
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.9.0
>
>         Attachments: HDFS-10653.patch
>
>
> Converting a path String to a byte[][] currently requires an unnecessary 
> intermediate conversion from String to String[].  Removing this will reduce 
> excessive object allocation and byte copying.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
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