Hi there. I saw the mail "Re: PCRE >= 8.20 JIT support in haproxy >= 1.5.x?" at 2011-12-27, and give it a try.
This is a patch for using PCRE JIT in acl. Could you review it? I notice regex are used in other places, but they are more complicated to modify to use PCRE APIs. So I focused to acl in the first try. BTW, I made a simple benchmark program for PCRE JIT beforehand. https://github.com/hnakamur/pcre-jit-benchmark I read the manual for PCRE JIT http://www.manpagez.com/man/3/pcrejit/ and wrote my benchmark program. https://github.com/hnakamur/pcre-jit-benchmark/blob/master/test-pcre.c -- )Hiroaki Nakamura) [email protected]
pcre_jit_in_acl.patch
Description: Binary data

