]> granicus.if.org Git - vim/commit
patch 9.0.0622: matchaddpos() can get slow when adding many matches v9.0.0622
authorBram Moolenaar <Bram@vim.org>
Thu, 29 Sep 2022 12:50:08 +0000 (13:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 29 Sep 2022 12:50:08 +0000 (13:50 +0100)
commit9f573a8df02d9f699a43d2afbd1d2841d700b9ad
tree8b68307515d0dce34622ef379b11c166a6f2f7d3
parentfc06cda8379031890ee8852cdca61eb8af8e1ba2
patch 9.0.0622: matchaddpos() can get slow when adding many matches

Problem:    matchaddpos() can get slow when adding many matches.
Solution:   Update the next available match ID when manually picking an ID and
            remove check if the available ID can be used. (idea by Rick Howe)
runtime/doc/builtin.txt
src/match.c
src/testdir/test_match.vim
src/version.c
src/window.c