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
Default implementations of Equals() and GetHashCode() now throw. It is expected for them to be implemented by users. How this was done though, does result in a lost opportunity. See comment below.
This is an unfortunate consequence of throwing.
We'd otherwise be able to treat InlineArray of primitive types as bitwise equatable and allow them to participate in some of the vectorization speedups.
It would be nice if there was a better way to allow users to override the default while still opting their types into bitwise equality support.
Default implementations of
Equals()
andGetHashCode()
now throw. It is expected for them to be implemented by users. How this was done though, does result in a lost opportunity. See comment below.Originally posted by @tannergooding in #103612 (comment)
The text was updated successfully, but these errors were encountered: