pcre2: Add JIT-support for select architectures in PCRE2
authorChristian Lachner <gladiac@gmail.com>
Tue, 26 Nov 2019 15:16:17 +0000 (16:16 +0100)
committerChristian Lachner <gladiac@gmail.com>
Tue, 26 Nov 2019 15:16:17 +0000 (16:16 +0100)
commit21bee17652fd3e8d9f588f82b80d4e1a092c771b
treeb510ac170cffe6303e4cfd1ef3253d4f15531e31
parente1bb703a66777c8d2c6abd53545b2a6dcece0c53
pcre2: Add JIT-support for select architectures in PCRE2

- This commit adds a config-option for JIT in libpcre2.

  According to research published on
  https://rust-leipzig.github.io/regex/2017/03/28/comparison-of-regex-engines/
  this should give a 10x performance increase on JIT operations
  which can be desireable for high performance Apache mod_rewrite
  or haproxy reqrep operations.

  This option is available on all officially supported architecutres
  which are listed on https://pcre.org/current/doc/html/pcre2jit.html#SEC2.
  Furthermore, it is enabled by default on the following
  architectures: arm, i686, x86_64.

Signed-off-by: Christian Lachner <gladiac@gmail.com>
libs/pcre2/Config.in [new file with mode: 0644]
libs/pcre2/Makefile