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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user