We have around 115 equations on which we call DetectIdentifiers. Before (v2.16.1), this took around 50ms. After the change, it takes 17.1 seconds, all of which is spent in evaluating the regex (of which 50% is spent in Match.AddMatch).
Interestingly, #323 improves this somewhat to 16.7 seconds. In any case, a 330 times slowdown seems a bit excessive.
We have around 115 equations on which we call
DetectIdentifiers. Before (v2.16.1), this took around 50ms. After the change, it takes 17.1 seconds, all of which is spent in evaluating the regex (of which 50% is spent inMatch.AddMatch).Interestingly, #323 improves this somewhat to 16.7 seconds. In any case, a 330 times slowdown seems a bit excessive.