Yegappan wrote:
> 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? Since it's reported to be a nice improvement, can you make a pull request for this? -- The Feynman problem solving Algorithm: 1) Write down the problem 2) Think real hard 3) Write down the answer /// 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202009281942.08SJgX36508494%40masaka.moolenaar.net.
