geta-notfoundhandler icon indicating copy to clipboard operation
geta-notfoundhandler copied to clipboard

Regex performance

Open Raph-Y opened this issue 10 months ago • 0 comments

Hi, .Net 7 now supports source-generated regex for better performance.

Considering how this library is practically on the hot path of every Optimizely-based website, using source-generated regex when evaluating redirects or ignore patterns should lead to improved performance on almost every HTTP request.

I see that the library is still on .Net 6. This version of .Net is no longer in support. Is there any desire to move to .Net 8 considering it's the new LTS (or .Net 10 since it is 6 months away)?

If yes, I can help make the upgrade and transform the usages of regex in the codebase on the hot paths to the new source-generate regex.

Raph-Y avatar May 18 '25 01:05 Raph-Y