On 2011.06.19 04:54:36 +0200, Bram Moolenaar wrote:
> Björn Steinbrink wrote:
> > The patch below[2] is a quick hack that eliminates the problem, but
> > spreads knowledge about the MAXLNUM "shortcut" for the fromstart syncing
> > through the code, so IMHO that's not an acceptable solution, but I
>
Björn Steinbrink wrote:
> Using ":syn sync fromstart" on platforms where "long" is 64bits wide
> breaks the state cache, causing vim to be very very slow on large files.
>
> How to reproduce:
> :syntax on
> :help :syn-sync
> :syn sync fromstart
>
>
> Here's what happens:
>
> When ":syn sync f
Björn Steinbrink wrote:
> Using ":syn sync fromstart" on platforms where "long" is 64bits wide
> breaks the state cache, causing vim to be very very slow on large files.
>
> How to reproduce:
> :syntax on
> :help :syn-sync
> :syn sync fromstart
>
>
> Here's what happens:
>
> When ":syn sync f
Hi,
Using ":syn sync fromstart" on platforms where "long" is 64bits wide
breaks the state cache, causing vim to be very very slow on large files.
How to reproduce:
:syntax on
:help :syn-sync
:syn sync fromstart
Here's what happens:
When ":syn sync fromstart" is used, vim sets minlines to MAXLN