view src/testdir/dumps/Test_matchparen_mbyte_3.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
line wrap: on
line source

|a+0&#ffffff0@7|(*&| +&@64
|b@3|)*&|c+&>c| @66
|~+0#4040ff13&| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
|~| @73
| +0#0000000&@56|2|,|9|-|8| @8|A|l@1|