Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-385
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-385
Summary: [PATCH] Use entrysets when key and value are desired
Type: Improvement
Status: Assigned
Priority: Minor
Project: Cayenne
Components:
Cayenne Core Library
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Dave Brosius
Created: Sun, 2 Oct 2005 11:45 PM
Updated: Sun, 2 Oct 2005 11:45 PM
Description:
Whenever you want to get the value of a map when iterating, it is more efficient to use an entrySet iterator rather than using a keySet iterator and using map.get(key). The time difference when done in a loop is (n) vs. (n)log(n). This patch fixes this.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Sun Oct 02 2005 - 23:45:38 EDT