forked from aniani/vim
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
This commit is contained in:
committed by
Bram Moolenaar
parent
1d97db3d98
commit
6574577cac
@@ -173,7 +173,7 @@ struct regengine
|
||||
// bt_regexec_nl or nfa_regexec_nl
|
||||
int (*regexec_nl)(regmatch_T *, char_u *, colnr_T, int);
|
||||
// bt_regexec_mult or nfa_regexec_mult
|
||||
long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, proftime_T *, int *);
|
||||
long (*regexec_multi)(regmmatch_T *, win_T *, buf_T *, linenr_T, colnr_T, int *);
|
||||
//char_u *expr;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user