aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/secure.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-02-26 08:15:57 +0800
committerGitHub <noreply@github.com>2026-02-26 08:15:57 +0800
commit1fe1b2525f7e54dee17a3303e2a2f1f184ef5493 (patch)
treef9e5addb39b1a61cc208a63b39d6f681553ae010 /runtime/lua/vim/secure.lua
parent9288357d59d2c6bbc88c7db4eda5fc888c896a90 (diff)
downloadrneovim-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