You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2016/09/10 06:10:20 UTC

[jira] [Updated] (FLINK-4610) Replace keySet/getValue with entrySet in UdfAnalyzerUtils

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

Alexander Pivovarov updated FLINK-4610:
---------------------------------------
    Description: 
Map.keySet + getValue combination is not very efficient
It can be replaced with Map.entrySet to avoid values lookup

Also MapEntry allows to modify MapEntry value while iterating thought the map using entrySet.iterator

  was:
Map.keySet + getValue combination is not very efficient
It can be replaced with Map.entrySet to avoid values lookup

Also MapEntry allows to modify Map values while iterating thought the map using entrySet.iterator


> Replace keySet/getValue with entrySet in UdfAnalyzerUtils
> ---------------------------------------------------------
>
>                 Key: FLINK-4610
>                 URL: https://issues.apache.org/jira/browse/FLINK-4610
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API
>    Affects Versions: 1.1.2
>            Reporter: Alexander Pivovarov
>            Priority: Minor
>
> Map.keySet + getValue combination is not very efficient
> It can be replaced with Map.entrySet to avoid values lookup
> Also MapEntry allows to modify MapEntry value while iterating thought the map using entrySet.iterator



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