diff options
author | TSUYUSATO Kitsune <make.just.on@gmail.com> | 2022-10-04 01:02:51 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-11-09 23:21:26 +0900 |
commit | f07dea16e3f70fbc33c51dbc73ef0f33f965e010 (patch) | |
tree | 4462cbd5332fda1ce5cc60bd6a06aa661f51e64d /regint.h | |
parent | 881bf9a0b8b52c05a5917b95d988ae4b9a391a47 (diff) |
Keep cache optimization info to MatchArg for global matching
Diffstat (limited to 'regint.h')
-rw-r--r-- | regint.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |