]> granicus.if.org Git - vim/commit
patch 9.0.0632: calling a function from an "expr" option has overhead v9.0.0632
authorBram Moolenaar <Bram@vim.org>
Sat, 1 Oct 2022 14:32:46 +0000 (15:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 1 Oct 2022 14:32:46 +0000 (15:32 +0100)
commit87b4e5c5db9d1cfd6f2e79656e1a6cff3c69d15f
treea437917654ad79edd9764b4f67af33ce01228d6a
parent145d1fd91041bd2a22a11eef0357702e420796e2
patch 9.0.0632: calling a function from an "expr" option has overhead

Problem:    Calling a function from an "expr" option has too much overhead.
Solution:   Add call_simple_func() and use it for 'foldexpr'
runtime/doc/fold.txt
runtime/doc/vim9.txt
src/eval.c
src/proto/userfunc.pro
src/testdir/test_fold.vim
src/userfunc.c
src/version.c
src/vim9execute.c