[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4 |
Date: |
Tue, 19 May 2015 22:10:44 +0200 |
On Tue, May 19, 2015, at 15:30, Benno Schulenberg wrote:
> Do for example four times 'cat src/*.c >>testing.c' and then
> run 'src/nano testing.c'. When then hitting Enter or ^K, it
> takes nano nearly a second to respond.
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.)
If you can, please test.
Benno
--
http://www.fastmail.com - Choose from over 50 domains or use your own
recalc-multis-sparingly.patch
Description: Text Data
- [Nano-devel] address@hidden: Bug#785508: nano: python highlighting fragile in v2.4], Jordi Mallach, 2015/05/18
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Benno Schulenberg, 2015/05/18
- Message not available
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Benno Schulenberg, 2015/05/18
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Alexandre Detiste, 2015/05/19
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Benno Schulenberg, 2015/05/19
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4,
Benno Schulenberg <=
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Alexandre Detiste, 2015/05/20
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Benno Schulenberg, 2015/05/20
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Alexandre Detiste, 2015/05/21
- [Nano-devel] trading speed against correctness, Benno Schulenberg, 2015/05/28
Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4, Alexandre Detiste, 2015/05/18