Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-69

[patch] avoid unnecessary map lookups

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 1.2
    • 1.1
    • None
    • None

    Description

      Code loops over maps and fetches the value for each key in the map based on the keySet. This is unnecessary lookup, as you can just use the entrySet to get both key and value at the same time. Patch fixes this.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            mebigfatguy Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: