Tiny micro-optimization to avoid properties with getters / setters
This commit is contained in:
1 parent
2fc42e57c9
commit
f3878f3480
1 file changed
+4
-5
@@ -400,12 +400,11 @@ internal static class Program
|
||||
|
||||
private readonly record struct CandidateResult(ulong P, bool IsPerfect, string Csv)
|
||||
{
|
||||
public string ToCsv()
|
||||
{
|
||||
return Csv;
|
||||
}
|
||||
|
||||
public string ToCsv() => Csv;
|
||||
|
||||
public readonly string Csv = Csv;
|
||||
public readonly ulong P = P;
|
||||
public readonly bool IsPerfect = IsPerfect;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user