Describe the bug
Interaction with quickfix window and quickfix list after patch 8.0.1781 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):
Describe the bug
Interaction with quickfix window and quickfix list after patch 8.0.1781 suffered slowdown on Windows.
To Reproduce
Run:
gvim --clean -S measureQuickFix.vimOutput of above script:
v8.0.1780:
v8.0.1781
:copenandsetqflistare much slower with8.0.1781included. Results are the same on the current master.Expected behavior
Interaction with quickfix is fast as it was before patch
8.0.1781was included.Environment (please complete the following information):