[Top][All Lists]

[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: Tue, 19 May 2015 14:58:42 +0200

2015-05-18 20:01 GMT+02:00 Benno Schulenberg <address@hidden>:
> Well, comment #7 says that the patch is "costly", but I doubt that
> it will be noticeably slower than the current method of invalidating
> the precalculations and then recalculating them (possibly wrongly) on
> the fly.  I think that up to ten, twenty, thirty thousand lines the
> difference will be hardly noticeable.  Could you try?  Could apply
> the patch and rehearse it on a testing file that consists of ten
> concatenated copies of your real pgm file?
> Benno

I tested it:

The patch doesn't slow down anything at all.

But with, 2.4.1-1 without that patch, once the "whole green screen" bug
has been triggered, it takes 5 seconds to get a refresh after any
insert line / page up / page down.

So go for it.

reply via email to

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