Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4610

Replace keySet/getValue with entrySet in UdfAnalyzerUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.2
    • None
    • None
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              apivovarov Alexander Pivovarov
              apivovarov Alexander Pivovarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: