You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
7 Pre-parse or compile Vim scripts into a bytecode.
1. Put the bytecode with the original script, with an ":if
has('bytecode')" around it, so that it's only used with a Vim that
supports it. Update the code with a command, can be used in an
autocommand.
2. Use a ".vic" file (like Python use .pyc). Create it when writing a
.vim file. Problem: distribution.
3. Use a cache directory for each user. How to recognize which cached
file belongs to a sourced script?
トランスレータとか使わず、Vimスクリプトの実行エンジンの速度をあげる方法を議論、研究するスレ。
一番有力なのは @mattn さんの言うとおり、なんらかのバイトコード方式を採用すること。
これの何が良いかというと、実行毎にかかっているパース時間を避けられるようになる点。
The text was updated successfully, but these errors were encountered: