Re: [pcre-dev] NO_START_OPTIMIZE in JIT

Góra strony
Delete this message
Autor: ph10
Data:  
Dla: Zoltán Herczeg
CC: Pcre-dev
Temat: Re: [pcre-dev] NO_START_OPTIMIZE in JIT
On Sun, 24 Mar 2013, Zoltán Herczeg wrote:

> If anything else is passed to pcre_exec(...) than the following flags, you trigger the interpreter:
>
> #define PUBLIC_JIT_EXEC_OPTIONS \
>    (PCRE_NO_UTF8_CHECK|PCRE_NOTBOL|PCRE_NOTEOL|PCRE_NOTEMPTY|\
>     PCRE_NOTEMPTY_ATSTART|PCRE_PARTIAL_SOFT|PCRE_PARTIAL_HARD)

>
> However, if you pass PCRE_NO_START_OPTIMIZE to pcre_compile(...) it works, since it is known at compile time.


I have updated the documentation to make this clear (I hope).

Philip

--
Philip Hazel