>
> Did you measure this before patch 988?
>
> Patch 989 may also help a little bit.
Just rechecked with all patches through 989, the results are similar (this on
32-bit; the other was 64-bit)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply belo
Ron Aaron wrote:
> Timing using:
>
> time gvim -f --cmd 'set re=1' -c ':qa!'
>
> 0.285s
>
> with 're=2' or 're=0'
>
> 0.494s
Did you measure this before patch 988?
Patch 989 may also help a little bit.
Problem with the new engine is that the overhead for simple things is
big. It really onl
Timing using:
time gvim -f --cmd 'set re=1' -c ':qa!'
0.285s
with 're=2' or 're=0'
0.494s
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You re
Patch 7.3.988
Problem:New regexp engine is slow.
Solution: Break out of the loop when the state list is empty.
Files: src/regexp_nfa.c
*** ../vim-7.3.987/src/regexp_nfa.c 2013-05-21 12:43:52.0 +0200
--- src/regexp_nfa.c2013-05-21 14:01:33.0 +0200