You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve performance of interface method resolution in ILC (#103066)
* Reverse order of loop in MightHaveInterfaceDispatchMap
Presumably the last interfaces on the list are more likely to be coming
from the less nested classes and allow short circuiting the loop earlier.
* Short-circuit recursive ResolveInterfaceMethodToVirtualMethodOnType
When ResolveInterfaceMethodToVirtualMethodOnType is recursively calling
itself, use the result instead of returning `null` and then continuing
the outer loop that is effectively doing the same recursion on base
types.
* Add comment
---------
Co-authored-by: Andy Gocke <angocke@microsoft.com>
0 commit comments