Bug 20480

Summary: Optimize writing of the registry cache file
Product: [Eclipse Project] Platform Reporter: Debbie Wilson <debbie_wilson>
Component: ResourcesAssignee: Debbie Wilson <debbie_wilson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dj.houghton
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Debbie Wilson CLA 2002-06-17 13:39:31 EDT
See bug 20061 for complete details.

We use an ArrayList to store internal details when writing the registry cache 
file.  Some applications have very large registries.  The ArrayList scheme, is 
therefore, too time consuming.  Some other scheme (hashmap?) needs to be 
considered.
Comment 1 DJ Houghton CLA 2002-06-17 13:43:35 EDT
Note that we need to review our data structure list for reading the registry 
cache as well.

Investigate post 2.0.
Comment 2 DJ Houghton CLA 2002-06-18 13:53:25 EDT
Have changed the writer to use a HashMap instead of ArrayList.
Re-visit both reading and writing post 2.0
Comment 3 DJ Houghton CLA 2002-06-19 11:10:37 EDT
Backed out of change. 
Reverted back to using ArrayList.

Need to review Reader code since ExtensionPoints are always being added to the 
object table and not indexed if they are in a fragment.
Comment 4 Debbie Wilson CLA 2002-07-18 13:57:06 EDT
Working on resolution now.
Comment 5 Debbie Wilson CLA 2002-07-23 17:00:09 EDT
Fixed for release 2.0.1 (in R2_0_1 stream).
Fix yet to be applied to main stream (HEAD).
Comment 6 Debbie Wilson CLA 2002-07-24 09:47:13 EDT
Fix now applied to main stream (HEAD).