[
https://issues.apache.org/jira/browse/CASSANDRA-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728407#action_12728407
]
Michael Greene commented on CASSANDRA-275:
------------------------------------------
The freezing/defreezing of maps in RowMutation is incorrect in the patch, so
that should be left out if portions are committed.
> Replace Map.keySet by more efficient Map.entrySet
> -------------------------------------------------
>
> Key: CASSANDRA-275
> URL: https://issues.apache.org/jira/browse/CASSANDRA-275
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Edward Ribeiro
> Priority: Minor
> Attachments: CASSANDRA-275.patch
>
>
> When you iterates over all key-values of a Map is better to use entrySet()
> instead of a call to entryKey() and a call to get() inside the loop. It's
> more efficient.
> I've seen a patch like this before, but I don't think it was applied at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.