Skip to content

Regex performance #172

Description

@Raph-Y

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions