flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4610) Replace keySet/getValue with entrySet in UdfAnalyzerUtils
Date Sat, 10 Sep 2016 06:09:20 GMT
Alexander Pivovarov created FLINK-4610:
------------------------------------------

             Summary: 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 Map values while iterating thought the map using entrySet.iterator



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

Mime
View raw message