Auteur: ND Date: À: Pcre-dev Sujet: Re: [pcre-dev] JIT is silently off
On 2015-10-25 17:53, ph10 wrote: > On Tue, 20 Oct 2015, ND wrote:
>> This pattern is 8426 times repeated '.*a'
> > Why there is no '(JIT)' in answer. Why JIT don't work for this pattern?
>I'm guessing, but I suspect the pattern is just too big. If you run it
> under pcretest with the -i option you get:
>Capturing subpattern count = 0
> Options: anchored caseless extended multiline dotall
> No first char
> Need char = 'a' (caseless)
> Subject length lower bound = 8428
> No starting char list
> JIT study was not successful
>If you make it a lot shorter, JIT does compile it.
>
Thanks. I use many giant patterns. How can I be sure that JIT can work
with they? What conditions are? Maximum pattern length in bytes or some
else?