>I have a regex which I use to parse HTML files which
>are marked up with HTML comments. Performance is fine
>but then dips as I increase the number of contained
>matches in the page.

Can you post sample code reproducing the problem?  Performance problems
often have nothing to do with the regular expression, but rather with how
the package is being (mis)used.  At the same time, problems often have
something to do with a suboptimally constructed regular expression (in
general, the more backtracking required by the expression, the slower it
is).  Without sample code reproducing the problem, there is no way to
isolate what's happening.

daniel


Reply via email to