emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Performance degradation from long lines


From: Eli Zaretskii
Subject: Re: Performance degradation from long lines
Date: Fri, 26 Oct 2018 11:30:44 +0300

> Date: Fri, 26 Oct 2018 07:47:56 +0000
> From: mithraeum <address@hidden>
> Cc: "address@hidden" <address@hidden>
> 
> On Friday, October 26, 2018 12:26 AM, Eli Zaretskii wrote:
> >
> > In what major mode did that happen? I don't think I ever saw any
> > problems with 2000-character lines, it begins happening for me only
> > when lines are much longer, like tens of thousands of characters.
> 
> It happened in python-mode.

So I guess some features of python-mode are "guilty" for such a
tremendous slow-down.  It would be interesting to know which ones.

Alternatively, it could be some minor mode you have enabled.

> Also, I have to confess that I'm on an old, slow laptop.

How slow?  Can you tell its CPU spec?

> Perhaps you're seeing better performance simply because you have
> a more powerful system.

My main development machine is a 6.5 year old box with Core i7-2600
CPU clocked at 3.4 GHz.

> > Also, what happens if you use switch to Fundamental mode in that case?
> 
> It pasted in instantly.  There was no slowdown of Emacs at all.

I guess that means the modes I use routinely are not as expensive as
python-mode.



reply via email to

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