nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in


From: Alexandre Detiste
Subject: Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4
Date: Wed, 20 May 2015 09:04:17 +0200
User-agent: KMail/4.14.2 (Linux/3.19.0-trunk-amd64; KDE/4.14.2; x86_64; ; )

Le mardi 19 mai 2015, 22:10:44 Benno Schulenberg a écrit :
> That first patch was a rough one.  Here is a better patch;
> it avoids recalculating all the multiline data in some cases
> when it's not needed.
> 
> It can probably be improved still further, but this one avoids
> slowdowns when editing inside an area covered by a multiline
> regex.  (To test, I run it on a tenfold concatenation of all
> of nano's C source files.)

This is a bit even better?

With the new patch, the only thing slow when working
on a 30000 lines python file (on a RPi+) is inserting new lines.

But this was already slow with v2.2, it's just a tiny bit
slower; that could maybe be benchmarked with something
like except(1).

Alexandre Detiste



reply via email to

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