[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
- [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, 2015/05/19
- Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4,
Alexandre Detiste <=
- 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