【文件属性】:
文件名称:go-vimlparser:用Go编写的Vim脚本解析器
文件大小:139KB
文件格式:ZIP
更新时间:2021-02-02 01:34:04
vim go golang parser vim-script
Go语言编写的Vim脚本解析器
该存储库是的分支,它为Go-ish接口提供了性能改进。
:high_voltage: 最快的Vim脚本解析器!
基准测试
$ pwd
/home/vim-jp/src/github.com/ynkdir/vim-vimlparser
$ git rev-parse HEAD
2fff43c58968a18bc01bc8304df68bde01af04d9
$ wc -l < autoload/vimlparser.vim
5195
$ time vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " --cmd " silent call vimlparser#test('autoload/vimlparser.vim') " -c " :q "
vim -u NONE -N --cmd " let &rtp .= ',' . getcwd() " --cmd -c " :q " 48.88s user 0.05s system 99% cpu 48.942 total
$ python3 -V
P