loading...

re: Speed up Regex performance with .NET 5 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for the nice write-up, Marcus. One issue I noticed in your final benchmark on Regex. Regex.Matches is lazy, meaning it doesn't actually ex...
 

Ahh thanks Stephen! I did wonder why I was not seeing the 3-6x speed up that you were... I just thought the benchmark I had chosen was not a good candidate, but clearly I've got some reading to do on Regex! I've now updated to include Count and the results look much better.

code of conduct - report abuse