From dd2ccdf6eaf3de0a5e9a4bb3b9e08dd55168c629 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 3 Jun 2013 12:17:04 +0200 Subject: updated for version 7.3.1106 Problem: New regexp engine: saving and restoring lastlist in the states takes a lot of time. Solution: Use a second lastlist value for the first recursive call. --- src/regexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/regexp.h') diff --git a/src/regexp.h b/src/regexp.h index 9809b3c0f..4841cd34f 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -72,7 +72,7 @@ struct nfa_state nfa_state_T *out; nfa_state_T *out1; int id; - int lastlist; + int lastlist[2]; /* 0: normal, 1: recursive */ int negated; int val; }; -- cgit v1.2.1