Benchmark .NET regular expression source generators
If you worked with regular expression and have upgraded to .NET 7 or newer, you may see a warning SYSLIB1045: Use GeneratedRegexAttribute to generate the regular expression implementation at compile time. to alert you that you can use the new regular expression source generation. But is it really better? I have done a benchmark to […]