Skip to content

gregex: use G_REGEX_OPTIMIZE flag to enable JIT compilation

Ghost User requested to merge (removed):rybalkin-gregex-jit-compilation into main

Since we ported gregex to pcre2, the JIT compiler is now available to be used. Let's undeprecate G_REGEX_OPTIMIZE flag to control whether the JIT compilation is requested, since using JIT is itself an optimization. See [1] for details on its implementation in pcre2.

[1] http://pcre.org/current/doc/html/pcre2jit.html

Fixes: #566 (closed)

Merge request reports