Re: [pcre-dev] NO_START_OPTIMIZE in JIT

Αρχική Σελίδα
Delete this message
Συντάκτης: ph10
Ημερομηνία:  
Προς: Zoltán Herczeg
Υ/ο: Pcre-dev
Αντικείμενο: 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