Re: [pcre-dev] Which limit is hit?

2015-01-25 Thread Jean-Christophe Deschamps
At 18:30 25/01/2015, you wrote: ´¯¯¯ I think the issue is that the byte code of the pattern is too big. It is basically (?:\d+=) times. It was easier to implement the interpreter this way (JIT converts back the byte code into an interator again, because of the code

Re: [pcre-dev] Which limit is hit?

2015-01-25 Thread Zoltán Herczeg
Hi, the pattern is always compiled to byte code first, and JIT converts it back, so using JIT alone does not help. The reason of not using an iterator in the interpreter is practical: PCRE interpreter uses stack recursion, and you cannot easily share variable data across function calls. This