Hi,

On Sun, Sep 27, 2020 at 11:16 AM markonm <[email protected]> wrote:

> *Describe the bug*
> Interaction with quickfix window and quickfix list after patch 8.0.1781
> <https://github.com/vim/vim/commit/a796d46f29e3cc235cc981696d7ee80faccb5000>
> suffered slowdown on Windows.
>
> *To Reproduce*
>
> " measureQuickFix.vim
> let filename = tempname()
> silent execute 'w' filename
> let lines = map(repeat([filename], 10000), '{"filename": v:val}')
>
> let start = reltime()
> call setqflist(lines)
> echom '  setqflist:' reltimestr(reltime(start))
>
> let start = reltime()
> silent copen
> echom '  copen:    ' reltimestr(reltime(start))
>
> let start = reltime()
> call setqflist(lines)
> echom '  setqflist:' reltimestr(reltime(start))
>
> Run: gvim --clean -S measureQuickFix.vim
>
> Output of above script:
>
> v8.0.1780:
>
> setqflist:   0.009004
> copen:       0.009129
> setqflist:   0.020638
>
> v8.0.1781
>
> setqflist:   0.009413
> copen:       3.745755
> setqflist:   3.794615
>
> :copen and setqflist are much slower with 8.0.1781 included. Results are
> the same on the current master.
>
> *Expected behavior*
> Interaction with quickfix is fast as it was before patch 8.0.1781 was
> included.
>
> *Environment (please complete the following information):*
>
>    - OS: Windows 10 2004
>
>
>
Can you try the attached patch?

- 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7m46U8j%3DWShnPZ-a32qJ-d8D%2Bp_EBimx2tf1HgkFus%2B4Q%40mail.gmail.com.

Attachment: qfexpand.diff
Description: Binary data

Raspunde prin e-mail lui