]> granicus.if.org Git - vim/commit
patch 9.0.0634: evaluating "expr" options has more overhead than needed v9.0.0634
authorBram Moolenaar <Bram@vim.org>
Sat, 1 Oct 2022 18:43:52 +0000 (19:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 1 Oct 2022 18:43:52 +0000 (19:43 +0100)
commita4e0b9785e409e9e660171cea76dfcc5fdafad9b
tree3323913d9bdc9cd09029b1314a77c4a5e8191bbf
parentb850c39676db21c6f1aa3afed0e2e48d407dd60e
patch 9.0.0634: evaluating "expr" options has more overhead than needed

Problem:    Evaluating "expr" options has more overhead than needed.
Solution:   Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
            "expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
            'formatexpr', 'indentexpr' and 'charconvert'.
24 files changed:
runtime/doc/diff.txt
runtime/doc/options.txt
runtime/doc/print.txt
src/beval.c
src/buffer.c
src/clientserver.c
src/eval.c
src/evalvars.c
src/ex_docmd.c
src/ex_eval.c
src/filepath.c
src/findfile.c
src/fold.c
src/if_ole.cpp
src/if_perl.xs
src/if_tcl.c
src/map.c
src/proto/eval.pro
src/regexp.c
src/register.c
src/screen.c
src/scriptfile.c
src/textformat.c
src/version.c