Hi,

On Thu, Apr 26, 2018 at 10:49 PM, Linwei <[email protected]> wrote:
> Yes, the last patch works as expected, and may I ask .
>
> shorten_fnames(TRUE); has been changed to shorten_fnames(FALSE);
>
> but there is still a for loop in shorten_fnames:
>
> https://github.com/vim/vim/blob/c3c3e698966fac86dee94799b70947defb85440d/src/fileio.c#L6160-L6174
>
> It will iterate all the buffers in the list. could it be eliminated too ?
>

The remaining shorten_fnames() call is used for the ":clist" and ":llist"
commands. This will not cause any performance problems as these
commands display all the quickfix entries and entries cannot be
dynamically added to the list while the ":clist" command is displaying
the list.

- Yegappan

-- 
-- 
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.

Raspunde prin e-mail lui