You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2011/03/06 16:19:25 UTC
[jira] Commented: (ROL-1907) Inefficient use of key set iterator.
[ https://issues.apache.org/jira/browse/ROL-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003179#comment-13003179 ]
David Johnson commented on ROL-1907:
------------------------------------
I'm a little nervous about applying this patch, especially so close to release, does it effect the ordering of items returned in the maps?
> Inefficient use of key set iterator.
> ------------------------------------
>
> Key: ROL-1907
> URL: https://issues.apache.org/jira/browse/ROL-1907
> Project: Roller
> Issue Type: Improvement
> Reporter: Shelan Perera
> Assignee: Roller Unassigned
> Priority: Minor
> Attachments: keyset-improvement.patch
>
>
> use of keySet iterator instead of entrySet iterator.It is efficient to use entryset instead of using .get(key) look up.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira