Yep, it's still slow with "-u NONE -N". It seems to vary quite a bit from
file to file. The way I reproduce is to just hold down PgDn for a few
seconds. It's fine for unaffected versions, but stutters for about half a
second in 362. For some reason most vim files aren't too bad for it.
src/options.c hangs for about a second for me a few screens down.

Dominique, for some reason the problematic match doesn't even show up in
":syntime report". Looks like a useful troubleshooting tool in general,
though.

David


On Sun, Aug 10, 2014 at 9:23 AM, Dominique Pellé <[email protected]>
wrote:

> David Barnett wrote:
>
> > Looks like it's patch 7.4.362:
> >
> > Problem:    When matchaddpos() uses a length smaller than the number of
> > bytes
> >     in the (last) character the highlight continues until the end of
> >     the line.
> > Solution:   Change condition from equal to larger-or-equal.
> > Files:     src/screen.c
> >
> >
> > It's a very small change but apparently problematic. Can it be reverted
> or
> > rethought?
> >
> > David
>
> Hi David
>
> Have a look at ":help :syntime".  It's a new Ex command
> introduced in Vim-7.4 which is useful to analyze why
> syntax highlighting is slow.
>
> Regards
> Dominique
>
> --
> --
> You received this message from the "vim_use" 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 a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/V6cRWX4c13E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message from the "vim_use" 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_use" 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/d/optout.

Reply via email to