pcre: Add JIT-support for select architectures 10588/head
authorChristian Lachner <gladiac@gmail.com>
Sat, 16 Nov 2019 12:29:48 +0000 (13:29 +0100)
committerChristian Lachner <gladiac@gmail.com>
Fri, 22 Nov 2019 08:08:33 +0000 (09:08 +0100)
commit6c40db7e9f730eb7d29069e7ad895663b3801da6
tree8e5777895012dd232f1744903341d462ce8ab54e
parent8892d5f63218e3fada6cd2a037d272ee40685b04
pcre: Add JIT-support for select architectures

- This commit adds a config-option for JIT in libpcre(1).

  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/original/doc/html/pcrejit.html#SEC3.
  Furthermore, it is enabled by default on the following
  architectures: arm, i686, x86_64.

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