]> granicus.if.org Git - vim/commit
patch 8.0.0504: looking up an Ex command is a bit slow v8.0.0504
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Mar 2017 13:51:01 +0000 (14:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Mar 2017 13:51:01 +0000 (14:51 +0100)
commite5e0fbcd4244d032a0635ad7defe2831f251c639
tree5607674e7934b98a3372308afc68157cc538b7c7
parent9d20ce6970158de69202a82529d9e97827a9e71b
patch 8.0.0504: looking up an Ex command is a bit slow

Problem:    Looking up an Ex command is a bit slow.
Solution:   Instead of just using the first letter, also use the second letter
            to skip ahead in the list of commands. Generate the table with a
            Perl script. (Dominique Pelle, closes #1589)
Filelist
src/Makefile
src/create_cmdidxs.pl [new file with mode: 0644]
src/ex_docmd.c
src/version.c