As you may have noticed, I have made quite a few changes to make the new
regexp engine faster.  I have checked several syntax-highlighted files
and most are now faster.  Some are much faster.  A few are about the
same as the old engine.

If you still see the new engine being much slower, please try to
pinpoint the problem.  This sequence should work:

        :syn clear
        :set re=1
        :edit
        :syntime on
        < redraw a few times with CTRL-L >
        :syntime report

Repeat exactly the same in exactly the same size window displaying
exactly the same test, with ":set re=1" changed to ":set re=2".  You
might now see some items at the top with different times.

If it's slow both with the old and the new engine, try to figure out how
to fix the syntax file itself.  Suspicious are pattern items such as
"\_." (matches everything in any place) and "\@<=" / "\@<!".

It's time to move on to bug fixing.  Hopefully I can have a beta test
version ready in one or two weeks.  The closer we get to the release the
less bigger changes I plan to make.

-- 
hundred-and-one symptoms of being an internet addict:
126. You brag to all of your friends about your date Saturday night...but
     you don't tell them it was only in a chat room.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui