db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-5021) [patch] avoid map look ups in a loop by using entrySet
Date Fri, 11 Feb 2011 07:28:57 GMT

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

Dave Brosius updated DERBY-5021:
--------------------------------

    Attachment: use_entryset_iterators.diff

> [patch] avoid map look ups in a loop by using entrySet
> ------------------------------------------------------
>
>                 Key: DERBY-5021
>                 URL: https://issues.apache.org/jira/browse/DERBY-5021
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Server
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: use_entryset_iterators.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message