Mercurial > vim
comparison src/evalfunc.c @ 27447:4050f0554902 v8.2.4252
patch 8.2.4252: generating the normal command table at runtime is inefficient
Commit: https://github.com/vim/vim/commit/4dc0dd869972ddafc7d9ee5ea765645b818a6dc9
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jan 29 13:06:40 2022 +0000
patch 8.2.4252: generating the normal command table at runtime is inefficient
Problem: Generating the normal command table at runtime is inefficient.
Solution: Generate the table with a Vim script and put it in a header file.
(Yegappan Lakshmanan, closes #9648)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 Jan 2022 14:15:04 +0100 |
parents | 41e0dcf38521 |
children | c7f614c9ceb3 |
comparison
equal
deleted
inserted
replaced
27446:d5dcb8d0cf5e | 27447:4050f0554902 |
---|---|
1735 ret_number_bool, f_inputsave}, | 1735 ret_number_bool, f_inputsave}, |
1736 {"inputsecret", 1, 2, FEARG_1, arg2_string, | 1736 {"inputsecret", 1, 2, FEARG_1, arg2_string, |
1737 ret_string, f_inputsecret}, | 1737 ret_string, f_inputsecret}, |
1738 {"insert", 2, 3, FEARG_1, arg23_insert, | 1738 {"insert", 2, 3, FEARG_1, arg23_insert, |
1739 ret_first_arg, f_insert}, | 1739 ret_first_arg, f_insert}, |
1740 {"internal_get_nv_cmdchar", 1, 1, FEARG_1, arg1_number, | |
1741 ret_number, f_internal_get_nv_cmdchar}, | |
1740 {"interrupt", 0, 0, 0, NULL, | 1742 {"interrupt", 0, 0, 0, NULL, |
1741 ret_void, f_interrupt}, | 1743 ret_void, f_interrupt}, |
1742 {"invert", 1, 1, FEARG_1, arg1_number, | 1744 {"invert", 1, 1, FEARG_1, arg1_number, |
1743 ret_number, f_invert}, | 1745 ret_number, f_invert}, |
1744 {"isdirectory", 1, 1, FEARG_1, arg1_string, | 1746 {"isdirectory", 1, 1, FEARG_1, arg1_string, |