db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DERBY-5021) [patch] avoid map look ups in a loop by using entrySet
Date Fri, 25 Mar 2011 14:45:05 GMT

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

Knut Anders Hatlen resolved DERBY-5021.

          Resolution: Fixed
            Assignee: Dave Brosius
    Issue & fix info:   (was: [Patch Available])

After DERBY-5143 we don't need the changes in EmbedConnection40 and NetConnection40 that reintroduced
the compiler warnings. I removed the changes in those two files from the patch and committed
revision 1085409. Thanks, Dave!

> [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:
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For:
>         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

View raw message