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


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to