Community
Participate
Working Groups
Currently when the ActionFilterService tries to figure out if the current selection has changed it calls equals() on the cached selection and the current selection, which is fine, however, when the selection in large the equals() method could take long time to complete, so, the proposed patch tries to test for equality using identity comparison of the ISelections first and if they are not equal then it will resort to using equals() method. This minimizes the calls to ISelection::equals() when the cached selection and the current selection are one and the same instance of ISelection
Created attachment 49204 [details] using identity equals first before resorting to calling ISelection::equals()
The patch got committed
Committed by mmostafa, according to CVS log entry. Adding contributed keyword for IP log automation.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Common was the original product and component for this bug