Re: [pcre-dev] Influence of some start-up optimizations at t…

Top Page
Delete this message
Author: ph10
Date:  
To: ND
CC: Pcre-dev
Subject: Re: [pcre-dev] Influence of some start-up optimizations at the beginning of the pattern
On Wed, 29 May 2019, ND via Pcre-dev wrote:

> Since anybody put MARK verb at the beginning of pattern then it is assumed
> that this verb is definitely needed in pattern logic.


But maybe only for successful matches?

> So is there any reason to apply to such patterns optimizations that can
> discard that MARK?
> May be automatically disabling of such optimizations is reasonable.


The discarding happens only for "no match" results. If you are
interested only in matches, the optimizations are fine.

Philip

--
Philip Hazel