Derby
  1. Derby
  2. DERBY-5021

[patch] avoid map look ups in a loop by using entrySet

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.8.1.2
    • Component/s: Network Server
    • Labels:
      None
    • Urgency:
      Low

      Description

      various places code walks a keyset iterator in a loop and each time thru the loop does a map lookup for the value based on the current key. Avoid the map look ups by just iterating with an entry set iterator.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Dave Brosius
            Reporter:
            Dave Brosius
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development