[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why emacs rendering is slow when encountering long lines?
From: |
Eli Zaretskii |
Subject: |
Re: Why emacs rendering is slow when encountering long lines? |
Date: |
Mon, 21 Oct 2013 19:16:00 +0300 |
> Date: Mon, 21 Oct 2013 06:00:52 +0300
> From: Eli Zaretskii <eliz@gnu.org>
>
> > Date: Sun, 20 Oct 2013 19:08:51 -0700 (PDT)
> > From: Jiaxin Cao <jiaxin.cao@gmail.com>
> > Injection-Date: Mon, 21 Oct 2013 02:08:52 +0000
> >
> > Let me provide more information about this. To reproduce the scenario, just
> > create a line containing about 450 chars, and copy the line 10000 times.
>
> What characters? It's important.
>
> Also, if you add an empty line here and there, do things improve?
>
> > I use the text-mode to test this buffer. Scroll-down means the cursor goes
> > up. My OS is windows 8. Emacs version is 24.3.1.
Btw, just for comparison, I made a file like you described with each
line made of 450 'a' characters, and tried your timing functions. My
times on a 3-year old machine running Windows 7 are much faster: about
50 msec for scroll-down and less than 20 for scroll-up. It's short
enough to not annoy.