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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.