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
* [Perf] Use Runtime.IntPtrEqualityComparer everywhere
This avoid boxing the key for Dictionaries which take IntPtr as keys.
* [Perf] Avoid Tuple allocations and boxing of tuple items
The default implementation of Tuple IEquatable uses EqualityComparer<Object>.Default, which causes boxing for IntPtr.
Implement a hand-made IntPtr-Type tuple that also uses custom comparers defined Runtime, for IntPtr and Type equality.
This should improve allocations done by GetDelegateForBlock
0 commit comments