diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-08-04 08:40:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-04 08:40:46 +0800 |
| commit | 6303d3680c7f76e8da732376e44e8b0c95520977 (patch) | |
| tree | c53e7d08c0af6f95df9e6e930e2b1a1501cf4385 /runtime/plugin/python_setup.vim | |
| parent | 21a0227d2f654ddc568c3733e72150021cd84a6b (diff) | |
| download | rneovim-6303d3680c7f76e8da732376e44e8b0c95520977.tar.gz rneovim-6303d3680c7f76e8da732376e44e8b0c95520977.tar.bz2 rneovim-6303d3680c7f76e8da732376e44e8b0c95520977.zip | |
vim-patch:9.2.0906: slow transstr() with long strings (#41144)
Problem: transstr() appends with STRCAT()/STRLEN() from the start of
the result on every iteration, making it quadratic to the
length of the string.
Solution: Keep a tail pointer and append at it. (Samuel Schlesinger).
closes: vim/vim#20925
https://github.com/vim/vim/commit/124c86868c253a5ec1347e7cbe102504d2d66a07
Co-authored-by: Samuel Schlesinger <sgschlesinger@gmail.com>
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions