Task 3690: Use [GeneratedRegex] Properties#3870
Task 3690: Use [GeneratedRegex] Properties#3870jamescrosswell merged 2 commits intogetsentry:mainfrom
Conversation
|
Thanks heaps for the PR @phunkeler !
It's a pity. I'd thought what enabled
I'd say stick with Option 1 for the time being, so that people targeting |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3870 +/- ##
==========================================
+ Coverage 75.73% 76.47% +0.74%
==========================================
Files 357 389 +32
Lines 13466 14226 +760
Branches 2671 2860 +189
==========================================
+ Hits 10198 10880 +682
- Misses 2593 2652 +59
- Partials 675 694 +19 ☔ View full report in Codecov by Sentry. |
|
btw: The builds on Ubuntu are failing periodically because of this - I'm working on a fix in that branch, which you should get for free once that's all green and merged into main. |
jamescrosswell
left a comment
There was a problem hiding this comment.
Thanks heaps for the PR @phunkeler !
This is meant to address #3690
As you can see, this doesn't really clean things up -- mainly to preserve regex source generation for
net8.0(Option 1).If we're fine using dynamic regex compilation at runtime for
net8.0(Option 2) things get much simpler but it may come with performance changes.OriginHelper.cs (As-is)
OriginHelper.cs (Option 1)
OriginHelper.cs (Option 2)
Thoughts?
#skip-changelog