Call the quickfixtextfunc function for multiple entries#6234
Closed
yegappan wants to merge 1 commit intovim:masterfrom
Closed
Call the quickfixtextfunc function for multiple entries#6234yegappan wants to merge 1 commit intovim:masterfrom
yegappan wants to merge 1 commit intovim:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6234 +/- ##
==========================================
- Coverage 87.37% 87.37% -0.01%
==========================================
Files 143 143
Lines 158192 158205 +13
==========================================
+ Hits 138225 138228 +3
- Misses 19967 19977 +10
Continue to review full report at Codecov.
|
|
I can confirm that it makes the feature much quicker when dealing with big quickfix lists. Before the PR, I tested the feature with this QuickFixTextFunc: Results: The bigger the quickfix list, the slower the feature. After the PR, I rewrote the QuickFixTextFunc like this: Results: This time, the "slowness" is constant. Thank you very much @yegappan. |
kevinhwang91
added a commit
to kevinhwang91/neovim
that referenced
this pull request
May 4, 2021
Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) vim/vim@00e260b
kevinhwang91
added a commit
to kevinhwang91/neovim
that referenced
this pull request
May 4, 2021
Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) vim/vim@00e260b
kevinhwang91
added a commit
to kevinhwang91/neovim
that referenced
this pull request
May 19, 2021
Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) vim/vim@00e260b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To reduce the cost of calling a VimScript function for every quickfix list entry,
call the function for multiple entries.