diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-26 21:47:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-26 21:47:28 +0200 |
commit | 963fee2d694cd2033ef67045e54ce549bf198c28 (patch) | |
tree | 8833154ed8b7e4c6179144632cf7f2717164f5a4 /src/regexp.h | |
parent | c4912e555bb609604f7e86ee2c38fe600c25f369 (diff) | |
download | vim-git-963fee2d694cd2033ef67045e54ce549bf198c28.tar.gz |
updated for version 7.3.1028v7.3.1028
Problem: New regexp performance: Copying a lot of position state.
Solution: Only copy the sub-expressions that are being used.
Diffstat (limited to 'src/regexp.h')
-rw-r--r-- | src/regexp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regexp.h b/src/regexp.h index 3b698a358..011eabf71 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -87,6 +87,7 @@ typedef struct regprog_T regprog; nfa_state_T *start; int has_zend; /* pattern contains \ze */ + int nsubexp; /* number of () */ int nstate; nfa_state_T state[0]; /* actually longer.. */ } nfa_regprog_T; |