0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2013-06-03 12:17:04 +02:00
parent f46da70603
commit dd2ccdf6ea
3 changed files with 73 additions and 33 deletions

View File

@@ -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;
};