Bug 20480 - Optimize writing of the registry cache file
Summary: Optimize writing of the registry cache file
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Debbie Wilson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-17 13:39 EDT by Debbie Wilson CLA
Modified: 2002-07-24 09:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).