| Summary: | [context] Organize listeners by name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Oleg Besedin <ob1.eclipse> | ||||
| Component: | E4 | Assignee: | Project Inbox <e4.runtime-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ob1.eclipse | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Patch applied to CVS Head. |
Created attachment 182159 [details] Patch Currently whenever a value is changed in a context, all its listeners are notified; then it is up to the listener to determine if they need to react to the change. This is a somewhat expensive. For instance, polling of context listeners takes up about 25% - 30% of the time to switch active editor. I'd like to change how we store listeners: place them in the bins corresponding to the name they depend on. (It will be possible to have the same listener in multiple bins.)