| Summary: | Improve performance of StateBasedContainer.filterByURI | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Lieven Lemiengre <lieven.lemiengre> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | mark.g.j.christiaens, sebastian.zarnekow, sven.efftinge | ||||
| Version: | 2.1.0 | Flags: | sebastian.zarnekow:
indigo+
|
||||
| Target Milestone: | SR2 | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Scheduled for review Patch looks good. Pushed to master. Thanks, Lieven. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Created attachment 203907 [details] patch This patch improves the build performance when multiple projects depend on eachother. In StateBasedContainer, the methodcall IContainerState.getContents() is expensive so I've cached the result. In ResourceDescriptionsBasedContainer the filter can be eliminated because hasResourceDescription(URI) is always true.