hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14240) Configuration#get return value optimization
Date Sat, 25 Mar 2017 03:36:41 GMT

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

Jonathan Eagles commented on HADOOP-14240:
------------------------------------------

The majority of this optimization relies on the direct return value construction since it
saves the construction cost of ArrayList and conversion from ArrayList<String> to String[]

> Configuration#get return value optimization
> -------------------------------------------
>
>                 Key: HADOOP-14240
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14240
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: HADOOP-14240.1.patch, HADOOP-14240.2.patch
>
>
> The string array return value can be more efficiently determined and some general redundancies
can be removed to improve the speed for Configuration.get.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message