Skip to content

Conversation

gerhardol
Copy link
Member

@gerhardol gerhardol commented Nov 19, 2023

Proposed changes

Skip Compiled regex for a few non static regex

That are not expected to be executing extremely often, why interpreted regex is expected to be faster.

--

A refresh of regex usage according to https://learn.microsoft.com/en-us/dotnet/standard/base-types/best-practices-regex

Most other regex will be compiled in compile time with an upcoming PR for .NEt8 C# 12 (really added in .NET7 C# 11).

Test methodology

Manual

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

Skip Compiled regex for a few non static regex

That are not expected to be executing extremely often,
why interpreted regex is expected to be faster.
@gerhardol gerhardol merged commit 4c6fadf into gitextensions:master Nov 20, 2023
@ghost ghost added this to the vNext milestone Nov 20, 2023
@gerhardol gerhardol deleted the feature/regex-tune branch November 20, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants