summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-03-03 09:57:21 +0800
committerGitHub <noreply@github.com>2026-03-03 09:57:21 +0800
commitb23d00ce99092a47ec188d5a3afd231b9c86d5b5 (patch)
tree81082a23faca5a4cc07a2d2291cc40676d777769 /runtime/lua/vim/_meta/api.lua
parentb4274b73f398d2f1c13d8d8b3c7c443329c01fa2 (diff)
vim-patch:partial:9.2.0096: has() function is slow due to linear feature scan (#38135)
Problem: The has() function is slow because it performs a linear scan of the feature list for every call. Solution: Move common runtime checks and the patch-version parser to the beginning of the f_has() function (Yasuhiro Matsumoto). closes: vim/vim#19550 https://github.com/vim/vim/commit/327e0e34c907abafbf356700705a3676c036ca65 Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions