diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-23 16:52:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 16:52:44 +0800 |
commit | 16e6f6e5841dd582620307e110b3da851e0e0a95 (patch) | |
tree | 4d714a565a85c2be7252cc5a37b2019d95d3c622 /runtime/lua/vim/lsp/util.lua | |
parent | 5a41f7e69c77e70f8dcd55a4e15beb9941d00855 (diff) | |
download | rneovim-16e6f6e5841dd582620307e110b3da851e0e0a95.tar.gz rneovim-16e6f6e5841dd582620307e110b3da851e0e0a95.tar.bz2 rneovim-16e6f6e5841dd582620307e110b3da851e0e0a95.zip |
vim-patch:9.1.1137: ins_str() is inefficient by calling STRLEN() (#32591)
Problem: ins_str() is inefficient by calling STRLLEN()
Solution: refactor ins_str() to take a length argument
and let all callers provide the correct length
when calling ins_str() (John Marriott)
closes: vim/vim#16711
https://github.com/vim/vim/commit/f4b36417e893ff40296f1a5a264a4ecc6965f1d5
Co-authored-by: John Marriott <basilisk@internode.on.net>
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions