Optimize speed when 'matchparen' is enabled.
commit1185dba838947d9a99e0fd773453e2b92e9c3dbd
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)
treedb7645fb7513718eb03233bf43171627c7bf6156
parent3debda6ca574a41c2e79754d764eb83878e8c3bd
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