hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anubhav Dhoot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-3184) Inefficient iteration of map
Date Thu, 12 Feb 2015 01:48:12 GMT

     [ https://issues.apache.org/jira/browse/YARN-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anubhav Dhoot updated YARN-3184:
--------------------------------
    Attachment: YARN-3184.001.patch

Use entrySet instead of keySet 

> Inefficient iteration of map
> ----------------------------
>
>                 Key: YARN-3184
>                 URL: https://issues.apache.org/jira/browse/YARN-3184
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>            Priority: Minor
>         Attachments: YARN-3184.001.patch
>
>
> Iteration of keySet and then lookup of value is not as efficient as iterating the entrySet



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

Mime
View raw message