To: vim_dev@googlegroups.com Subject: Patch 7.4.2335 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2335 Problem: taglist() is slow. (Luc Hermitte) Solution: Check for CTRL-C less often when doing a linear search. (closes #1044) Files: src/tag.c *** ../vim-7.4.2334/src/tag.c 2016-08-29 22:48:12.173105978 +0200 --- src/tag.c 2016-09-06 18:52:42.389707068 +0200 *************** *** 1578,1584 **** */ for (;;) { ! line_breakcheck(); /* check for CTRL-C typed */ #ifdef FEAT_INS_EXPAND if ((flags & TAG_INS_COMP)) /* Double brackets for gcc */ ins_compl_check_keys(30); --- 1578,1588 ---- */ for (;;) { ! /* check for CTRL-C typed, more often when jumping around */ ! if (state == TS_BINARY || state == TS_SKIP_BACK) ! line_breakcheck(); ! else ! fast_breakcheck(); #ifdef FEAT_INS_EXPAND if ((flags & TAG_INS_COMP)) /* Double brackets for gcc */ ins_compl_check_keys(30); *** ../vim-7.4.2334/src/version.c 2016-09-05 23:29:22.536700169 +0200 --- src/version.c 2016-09-06 20:24:18.732688838 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2335, /**/ -- hundred-and-one symptoms of being an internet addict: 177. You log off of your system because it's time to go to work. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///