[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redisplay system of emacs
From: |
grischka |
Subject: |
Re: redisplay system of emacs |
Date: |
Tue, 16 Feb 2010 21:56:03 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Eli Zaretskii wrote:
It's not _that_complicated. Basically it just draws the new screen to
memory, then compares it with the current screen and then updates the
differences.
That's only a small part of the story. It draws only part of the
screen, not all of it (unless optimizations fail), and it goes to
great lengths to minimize that part of the screen.
Sure, thats what I wrote: It updates only the differences.
The reason is that delivering to the screen is not the heaviest part
of the redisplay; it's that ``drawing to memory'' that is.
That is probably true nowadays with fast graphical screens (say for PCs
after ~1995). However the design of emacs' "redisplay" is based on the
contrary assumption that sending the updates to the terminal more expensive
than their calculation. If you want to it is optimized for _very_ slow
terminals to the expense of code simplicity. I assume it was working great
with 14400 baud connections, but then again emacs didn't have colors and
var-pitch fonts at that times, either.
--- grischka
- Re: redisplay system of emacs, (continued)
- Re: redisplay system of emacs, alin.s, 2010/02/14
- Re: redisplay system of emacs, Chong Yidong, 2010/02/17
- Re: redisplay system of emacs, Giuseppe Scrivano, 2010/02/22
- Re: redisplay system of emacs, David Reitter, 2010/02/22
- Re: redisplay system of emacs, Tom Tromey, 2010/02/22
- Re: redisplay system of emacs, Richard Stallman, 2010/02/23
- Re: redisplay system of emacs, alin.s, 2010/02/14
- Re: redisplay system of emacs, Davis Herring, 2010/02/16
Re: redisplay system of emacs, grischka, 2010/02/16
Re: redisplay system of emacs, Thien-Thi Nguyen, 2010/02/16