Update strongly-typed record Equals method #51136
Labels
Area-Compilers
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
New Language Feature - Records
Records
Milestone
We need to add a short-circuit in the strongly-typed
Equals
method we generate for record equality to ensure that, if the same instance is being compared for equality, we immediately return true. See dotnet/csharplang#39 (comment) for a benchmark of the perf consequences of this. /cc @jcouv.The text was updated successfully, but these errors were encountered: