From 19a1319c0aeb487d3fbafc0f3efdc5793f2f4dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Herczeg?= Date: Fri, 19 Feb 2021 09:20:37 +0000 Subject: [PATCH] Restore single character repetition optimization in JIT. --- ChangeLog | 7 +++++++ src/pcre2_jit_compile.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0891adf..f71c1ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,13 @@ Change Log for PCRE2 -------------------- +Version 10.38 +------------- + +1. Restore single character repetition optimization in JIT. +Currently fewer character repetitions are optimized than in 10.34. + + Version 10.37-RC1 04-January-2021 --------------------------------- diff --git a/src/pcre2_jit_compile.c b/src/pcre2_jit_compile.c index 1977d28..3281464 100644 --- a/src/pcre2_jit_compile.c +++ b/src/pcre2_jit_compile.c @@ -1226,7 +1226,7 @@ while (cc < ccend) return TRUE; } -#define EARLY_FAIL_ENHANCE_MAX (1 + 1) +#define EARLY_FAIL_ENHANCE_MAX (1 + 3) /* start: