patch 8.1.1724: too much overhead checking for CTRL-C while processing text
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 #4708)
diff --git a/src/misc1.c b/src/misc1.c
index f5549fd..7df3954 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3182,11 +3182,7 @@
*/
#ifndef BREAKCHECK_SKIP
-# ifdef FEAT_GUI /* assume the GUI only runs on fast computers */
-# define BREAKCHECK_SKIP 200
-# else
-# define BREAKCHECK_SKIP 32
-# endif
+# define BREAKCHECK_SKIP 1000
#endif
static int breakcheck_count = 0;