diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-08-06 06:36:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-06 06:36:22 +0800 |
| commit | 88c13ee43c4231845a358b47d08b9eec76543d1d (patch) | |
| tree | 07b90ca9eb6169c6f9dcf0ba501906081b89af5d /runtime/lua/vim/_stringbuffer.lua | |
| parent | 6107629c5b0a00b357f377e3ddc1cad34972ad49 (diff) | |
| download | rneovim-88c13ee43c4231845a358b47d08b9eec76543d1d.tar.gz rneovim-88c13ee43c4231845a358b47d08b9eec76543d1d.tar.bz2 rneovim-88c13ee43c4231845a358b47d08b9eec76543d1d.zip | |
vim-patch:9.2.0909: insert completion is slow to collect many matches (#41167)
Problem: ins_compl_add() checks for a duplicate by scanning the whole
match list, making collection of N matches quadratic.
Solution: Look matches up in a hashtab instead; each entry counts the
matches with that string (Samuel Schlesinger).
closes: vim/vim#20926
https://github.com/vim/vim/commit/31b7b1a7da4e282ebdf09f3c1c3e16ded7b76e8a
Co-authored-by: Samuel Schlesinger <sgschlesinger@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions