From f07dea16e3f70fbc33c51dbc73ef0f33f965e010 Mon Sep 17 00:00:00 2001 From: TSUYUSATO Kitsune Date: Tue, 4 Oct 2022 01:02:51 +0900 Subject: Keep cache optimization info to MatchArg for global matching --- regint.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'regint.h') diff --git a/regint.h b/regint.h index 1f0d815db0..c310946886 100644 --- a/regint.h +++ b/regint.h @@ -893,6 +893,13 @@ typedef struct { #else uint64_t end_time; #endif +#ifdef USE_CACHE_MATCH_OPT + int num_fail; + int enable_cache_match_opt; + int num_cache_opcode; + UChar** cache_index_table; /* array of pointer to p (regex program) */ + uint8_t *match_cache; +#endif } OnigMatchArg; -- cgit v1.2.1