[
https://issues.apache.org/jira/browse/HDFS-10653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhe Zhang updated HDFS-10653:
-----------------------------
Attachment: HDFS-10653-branch-2.6.01.patch
Thanks for the suggestion [~daryn]. Attaching new 2.6 patch to avoid resolving
twice.
> 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.8.0, 2.9.0, 2.7.4
>
> Attachments: HDFS-10653-branch-2.6.00.patch,
> HDFS-10653-branch-2.6.01.patch, 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: [email protected]
For additional commands, e-mail: [email protected]