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: Benno Schulenberg
Subject: Re: [Nano-devel] Debian Bug#785508: nano: python highlighting fragile in v2.4
Date: Tue, 19 May 2015 15:30:51 +0200

On Tue, May 19, 2015, at 14:58, Alexandre Detiste wrote:
> I tested it:
> 
> The patch doesn't slow down anything at all.

Thanks for confirming.  However, the patch does slow things
down a bit, and it becomes noticeable in for example C files
when they reach a hundred thousand lines.

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.  (Responsiveness can,
however, easily be regained by switching syntax colouring off
with M-Y.)

But... who in his or her right mind is going to edit files of
more than a few thousand lines?  Files that require syntax
colouring, that is.

Benno

-- 
http://www.fastmail.com - Send your email first class




reply via email to

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