diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-14 11:40:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-14 03:40:59 +0000 |
| commit | 3e300b0debb35bf4c1183c838e0c0857e374cc4d (patch) | |
| tree | 7bbe5214e12f15ec40720dd0ca20c32d597d07c2 /test/functional/vimscript/executable_spec.lua | |
| parent | e997599894e083e79864913a6c6711083a7af35e (diff) | |
| download | rneovim-3e300b0debb35bf4c1183c838e0c0857e374cc4d.tar.gz rneovim-3e300b0debb35bf4c1183c838e0c0857e374cc4d.tar.bz2 rneovim-3e300b0debb35bf4c1183c838e0c0857e374cc4d.zip | |
vim-patch:9.2.0635: checking the syntax contains/cluster list is slow (#40230)
Problem: Deciding whether a group is in a "contains"/cluster list scans
the list and expands clusters on every check, which is slow for
syntaxes with large lists (e.g. plugins such as netrw).
Solution: Resolve each list once into a sorted, cluster-expanded set of
group IDs and use a binary search; cache it per syntax block and
drop the cache when syntax definitions change (Hirohito Higashi).
closes: vim/vim#20490
https://github.com/vim/vim/commit/48fbae4378ab9bb6e7fcbd2480544847eac10cd7
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions