Optimize speed when 'matchparen' is enabled.
commitebbd58a997f535908e16dbad30ba0a7a2a83e439
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 28 Oct 2007 12:51:01 +0000 (28 13:51 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 28 Oct 2007 12:51:01 +0000 (28 13:51 +0100)
tree7693563fb0ecb952bd6bccd285f4c5f11b3582dd
parent22c1f4c652706ceec54f9a966dbbd4f6386b12f0
Optimize speed when 'matchparen' is enabled.

When matchparen is used gui_mch_update() gets called a lot.  This function
checks the run loop for new input which takes a long time.  To speed things up
make sure that the run loop is only checked every 100 ms or so (controlled by
MMUpdateTimeoutInterval in gui_macvim.m).
src/MacVim/MMBackend.m
src/MacVim/gui_macvim.m