comparison src/testdir/dumps/Test_matchparen_mbyte_5.dump @ 36039:1cd9db1c8bbd v9.1.0694

patch 9.1.0694: matchparen is slow on a long line Commit: https://github.com/vim/vim/commit/81e7513c86459c40676bd983f73c2722096d67a9 Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Aug 24 16:32:24 2024 +0200 patch 9.1.0694: matchparen is slow on a long line Problem: The matchparen plugin is slow on a long line. Solution: Don't use a regexp to get char at and before cursor. (zeertzjq) Example: ```vim call setline(1, repeat(' foobar', 100000)) runtime plugin/matchparen.vim normal! $hhhhhhhh ``` closes: #15568 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 24 Aug 2024 16:45:05 +0200
parents
children
comparison
equal deleted inserted replaced
36038:970c54e8534c 36039:1cd9db1c8bbd
1 |a+0&#ffffff0@7|(*&| +&@64
2 >b@3|)*&|c+&@1| @66
3 |~+0#4040ff13&| @73
4 |~| @73
5 |~| @73
6 |~| @73
7 |~| @73
8 |~| @73
9 |~| @73
10 | +0#0000000&@56|2|,|1| @10|A|l@1|