[
https://issues.apache.org/jira/browse/CASSANDRA-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970401#action_12970401
]
Hudson commented on CASSANDRA-1794:
-----------------------------------
Integrated in Cassandra-0.7 #70 (See
[https://hudson.apache.org/hudson/job/Cassandra-0.7/70/])
> [patch] avoid map look ups in a loop by using entrySet
> ------------------------------------------------------
>
> Key: CASSANDRA-1794
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1794
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Environment: ubuntu 10.10 jdk1.6.17 ant1.8
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 0.7.0 rc 2
>
> Attachments: avoid_map_lookups.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> code uses a keyset iterator to loop over a map, doing map look ups each
> iteration. Switch to entrySet() iterator, to avoid that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.