3 ms·
You should have kept reading. For performance-sensitive scenarios where case types include value types, libraries can also implement the non-boxing access pa
by Turskarama 6mo ago
You should have kept reading.
For performance-sensitive scenarios where case types include value types, libraries can also implement the non-boxing access pattern by adding a HasValue property and TryGetValue methods. This lets the compiler implement pattern matching without boxing.