From 963fee2d694cd2033ef67045e54ce549bf198c28 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 26 May 2013 21:47:28 +0200 Subject: updated for version 7.3.1028 Problem: New regexp performance: Copying a lot of position state. Solution: Only copy the sub-expressions that are being used. --- src/regexp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/regexp.h') 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; -- cgit v1.2.1