Re: [pcre-dev] JIT is silently off

2015-10-26 Thread ND
On 2015-10-26 07:32, Zoltán Herczeg wrote: >It's very bad news for me. >Yesterday I test my patterns (each have around 1,5-2M size) and find that >JIT don't work with all of they. >Unfortunately this patterns can't be splitted due to it's automatically >construction. >Is there way to grow

Re: [pcre-dev] JIT is silently off

2015-10-26 Thread Zoltán Herczeg
Hi, I am sorry I forgot to reply. Philip guess was right, JIT can only use 64K machine stack, and it cannot compile the pattern if it runs out of it. The exact rules are not documented since they may change any time when new optimizations are introduced (e.g. a capturing bracket may use 2 or 3

Re: [pcre-dev] JIT is silently off

2015-10-26 Thread ND
I am sorry I forgot to reply. Philip guess was right, JIT can only use 64K machine stack, and itcannot compile the pattern if it runs out of it. The exact rules are not documented since they maychange any time when new optimizations are introduced (e.g. a capturing bracket may use 2 or

Re: [pcre-dev] JIT is silently off

2015-10-26 Thread Zoltán Herczeg
>It's very bad news for me. >Yesterday I test my patterns (each have around 1,5-2M size) and find that >JIT don't work with all of they. >Unfortunately this patterns can't be splitted due to it's automatically >construction. >Is there way to grow this 64K stack size or another way to use JIT?

Re: [pcre-dev] JIT is silently off

2015-10-26 Thread ph10
On Sun, 25 Oct 2015, ND wrote: > I found no docs about this silent JIT-off. In PCRE2, JIT support requires you to call pcre2_jit_compile() explicitly (there is no pcre2_study() function). The return code from this tells you whether or not JIT compilation was successful. I will add some words

Re: [pcre-dev] JIT is silently off

2015-10-25 Thread ph10
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

Re: [pcre-dev] JIT is silently off

2015-10-25 Thread ND
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:

[pcre-dev] JIT is silently off

2015-10-20 Thread ND
Hallo Philip and Zoltan! here is pcretest.exe listing: PCRE version 8.38-RC1 2015-05-03