Bug 418155 - Collection/List/Set types could benefit from more caching
Summary: Collection/List/Set types could benefit from more caching
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: M2   Edit
Assignee: Karsten Thoms CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, performance
Depends on:
Blocks:
 
Reported: 2013-09-27 04:17 EDT by Ed Merks CLA
Modified: 2017-10-31 11:19 EDT (History)
1 user (show)

See Also:
karsten.thoms: luna+


Attachments
Patch for the changes (2.09 KB, patch)
2013-09-27 04:17 EDT, Ed Merks CLA
karsten.thoms: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Merks CLA 2013-09-27 04:17:52 EDT
Created attachment 235880 [details]
Patch for the changes

There is specialized support for Collection/List/Set of Object but not for other cases.  In the attached patch, there's a cache to ensure there is exactly one Collection/List/Set type per item type.

One of the major benefits from caching is that the expensive calls to getAllFeatures don't repeatedly compute effectively identical results for all these type copies...
Comment 1 Karsten Thoms CLA 2013-09-27 06:12:35 EDT
Patch applied.
Comment 2 Eclipse Webmaster CLA 2017-10-31 11:07:56 EDT
Requested via bug 522520.

-M.
Comment 3 Eclipse Webmaster CLA 2017-10-31 11:19:26 EDT
Requested via bug 522520.

-M.