Bug#622650: perl_fold=1 makes vim absurdly slow

James McCoy jamessan at debian.org
Thu May 30 03:56:21 UTC 2013

On Wed, Apr 13, 2011 at 09:03:18PM -0400, James McCoy wrote:
> On Wed, Apr 13, 2011 at 12:54:04PM -0400, Joey Hess wrote:
> > Recently (in the past half year or so), editing perl code in vim has begun to
> > drag horribly. There are sometimes pauses of many seconds, and often vim
> > responds as if it were on the other side of a transatlantic link.
> > 
> > I commented out perl_fold=1 in my vimrc and this went away.
> This looks like another artifact of patch 7.2.274.  That has caused a
> couple items to be added to Vim's todo list:

Are you still seeing this behavior?  I tried to reproduce it to see if
anything has changed or if some of new Vim changes had helped, but
didn't see any noticeable performance problems.

I bisected back to the patch that introduced the general slowness in
syntax-based folding and didn't notice the behavior you describe in any
of the steps along the way.  Either I'm not following the directions you
provided properly or the folding computation isn't the dominating factor
on my computer.

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20130529/7f4b4ea6/attachment.pgp>

More information about the pkg-vim-maintainers mailing list