[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paredit, smartparens very slow with large latex files

From: Andreas Röhler
Subject: Re: Paredit, smartparens very slow with large latex files
Date: Wed, 11 Sep 2013 17:58:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

Am 11.09.2013 11:59, schrieb Julien Cubizolles:
All the minor modes I've tried to navigate through sexps are very slow
when working with large latex files (>1000 lines). For example
sp-forward-sexp takes several seconds to do the following:
\(|\) -> \(\)| whereas it's instantaneous in a small buffer. Is there a
way to improve things ? I tried folding parts of the buffer but it
doesn't help since the folded part is still parsed.


IMO basically exist two sources for the problem.

a) an appropriate coding style.
b) slowness from nesting, which might be solved by an appropriate alternative 

As for b, please tell if command from paredit.el is slow also.

As for a, seeing a style expand, which uses a lot of abstractions, resp. 
refactoring. This looks nice, enhances readability but makes
it slow very soon.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]