-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use more pattern matching in Uri #97584
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue Detailsnull
|
Maybe I'm out of date, but what is the improvement from using this syntax? It's not consistency as we now use both. |
I much prefer it for readability in many cases. |
Do you have an example for what resulted in worse perf? In general, that shouldn't be the case, and we should fix whatever is resulting in the degradation. |
Running the dotnet/performance suite: Benchmark results
Codegen-wise they're all size regressions Size diffs
I know Roslyn will emit different approaches here (e.g. binary search instead of just N comparisons), but I haven't looked into which parts were actually contributing most to the regressions. |
No description provided.