Bug 233865 - Inefficient usage of keySet
Summary: Inefficient usage of keySet
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: XML/XMI (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-05-25 14:35 EDT by Thomas Schindl CLA
Modified: 2008-05-27 17:20 EDT (History)
0 users

See Also:


Attachments
patch (3.99 KB, patch)
2008-05-25 14:35 EDT, Thomas Schindl CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schindl CLA 2008-05-25 14:35:20 EDT
Created attachment 101899 [details]
patch

There are some areas where the code iterates over the keySet and afterwards fetches the value. It would be much better to directly loop over the entrySet then.
Comment 1 Ed Merks CLA 2008-05-25 15:22:53 EDT
The changes are committed to CVS.
Comment 2 Nick Boldt CLA 2008-05-27 17:20:23 EDT
Fix available in HEAD: 2.4.0RC2 (S200805270202).