diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-26 08:15:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-26 08:15:57 +0800 |
| commit | 1fe1b2525f7e54dee17a3303e2a2f1f184ef5493 (patch) | |
| tree | f9e5addb39b1a61cc208a63b39d6f681553ae010 /runtime/lua/vim/secure.lua | |
| parent | 9288357d59d2c6bbc88c7db4eda5fc888c896a90 (diff) | |
| download | rneovim-1fe1b2525f7e54dee17a3303e2a2f1f184ef5493.tar.gz rneovim-1fe1b2525f7e54dee17a3303e2a2f1f184ef5493.tar.bz2 rneovim-1fe1b2525f7e54dee17a3303e2a2f1f184ef5493.zip | |
vim-patch:9.2.0054: eval_addblob() is inefficient (#38067)
Problem: eval_addblob() is inefficient
Solution: Replace per-byte ga_append() loop with a single ga_grow() and
mch_memmove() for each source blob. This eliminates N grow
checks and function call overhead for blob concatenation
(Yasuhiro Matsumoto).
closes: vim/vim#19494
https://github.com/vim/vim/commit/c389ae8c4467e93827a9737abd907ebc27b998b3
Omit the pointless int -> long changes in other functions.
Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Diffstat (limited to 'runtime/lua/vim/secure.lua')
0 files changed, 0 insertions, 0 deletions