[
https://issues.apache.org/jira/browse/CASSANDRA-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-1794.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.7.0
Reviewer: jbellis
Assignee: Dave Brosius
committed, thanks
> [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
>
> 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.