vim-patch:8.1.1724: too much overhead checking for CTRL-C #10564

Problem:    Too much overhead checking for CTRL-C while processing text.
Solution:   Increase BREAKCHECK_SKIP.  Remove the difference for when built
            with the GUI. (suggested by Andy Massimino, closes vim/vim#4708)
b4fe0eb4b4
This commit is contained in:
Jan Edmund Lazo 2019-07-21 17:30:56 -04:00 committed by Justin M. Keyes
parent 27fb8933f5
commit 8d66b6091b

View File

@ -2735,7 +2735,7 @@ void preserve_exit(void)
*/
#ifndef BREAKCHECK_SKIP
# define BREAKCHECK_SKIP 32
# define BREAKCHECK_SKIP 1000
#endif
static int breakcheck_count = 0;