Skip to content

bt_quickfix() is slow#19183

Open
chrisbra wants to merge 1 commit intovim:masterfrom
chrisbra:gh-19169
Open

bt_quickfix() is slow#19183
chrisbra wants to merge 1 commit intovim:masterfrom
chrisbra:gh-19169

Conversation

@chrisbra
Copy link
Member

Problem: In order to prevent a use-after-free, bt_quickfix() added a
call to buf_valid(), which slows it down, because Vim has to
loop through many buffers all the time (v9.0.1859)
Solution: Patch v9.0.2010 fixed a similar problem, so that the call to
buf_valid() is no longer required (zeertzjq)

fixes: #19169

Problem:  In order to prevent a use-after-free, bt_quickfix() added a
          call to buf_valid(), which slows it down, because Vim has to
          loop through many buffers all the time (v9.0.1859)
Solution: Patch v9.0.2010 fixed a similar problem, so that the call to
          buf_valid() is no longer required (zeertzjq)

fixes: vim#19169

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bt_quickfix() is slow

1 participant