comparison src/tag.c @ 10132:9a13895ee8d7 v7.4.2337

commit https://github.com/vim/vim/commit/77b642501ac4c84b4e6820d4e5636eb856faaea7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 6 21:14:27 2016 +0200 patch 7.4.2337 Problem: taglist() is still slow. (Luc Hermitte) Solution: Check for CTRL-C less often when finding duplicates.
author Christian Brabandt <cb@256bit.org>
date Tue, 06 Sep 2016 21:15:06 +0200
parents 98ddc760e8d5
children 95e9be4bc490
comparison
equal deleted inserted replaced
10131:b314d98c3088 10132:9a13895ee8d7
2399 (ga_match[mtt].ga_data))[i]; 2399 (ga_match[mtt].ga_data))[i];
2400 if (mfp2->len == mfp->len 2400 if (mfp2->len == mfp->len
2401 && vim_memcmp(mfp2->match, mfp->match, 2401 && vim_memcmp(mfp2->match, mfp->match,
2402 (size_t)mfp->len) == 0) 2402 (size_t)mfp->len) == 0)
2403 break; 2403 break;
2404 line_breakcheck(); 2404 fast_breakcheck();
2405 } 2405 }
2406 if (i < 0) 2406 if (i < 0)
2407 { 2407 {
2408 ((struct match_found **)(ga_match[mtt].ga_data)) 2408 ((struct match_found **)(ga_match[mtt].ga_data))
2409 [ga_match[mtt].ga_len++] = mfp; 2409 [ga_match[mtt].ga_len++] = mfp;