[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Slow redisplay with long lines
From: |
Stephan Mueller |
Subject: |
RE: Slow redisplay with long lines |
Date: |
Fri, 16 May 2014 18:08:18 +0000 |
From: Eli Zaretskii [mailto:address@hidden
" > From: Stephan Mueller <address@hidden>
" > " > Long lines slow down redisplay because it needs to scan the entire
" > " > line to see how tall it will be on display.
" > "
" > " Why should it care about the whole line rather than only the part
" > " of it that's displayed?
" >
" > So that the line height doesn't change when scrolling horizontally
" > and a taller character comes into view?
"
" No, horizontal scrolling causes another redisplay, which examines the
" characters that came into view at that time.
So, IIUC, that means that scrolling horizontally _can_ cause the user's
experience to be that the height of a line was changed by looking at a
different portion of it. Understood it is redisplayed (and so no doubt
draws correctly), but I'd still consider the height change to be an odd
behaviour. I'm curious if it was an intentional choice (perhaps in the
name of perf, removing one of the reasons to scan the whole line)?
stephan($0.02);
- line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/15
- Re: line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/15
- Re: line buffer as Red Black Trees instead of linear, Stefan Monnier, 2014/05/15
- Re: line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/15
- Re: line buffer as Red Black Trees instead of linear, Eli Zaretskii, 2014/05/15
- Slow redisplay with long lines, Stefan Monnier, 2014/05/15
- RE: Slow redisplay with long lines, Stephan Mueller, 2014/05/15
- Re: Slow redisplay with long lines, Eli Zaretskii, 2014/05/16
- RE: Slow redisplay with long lines,
Stephan Mueller <=
- Re: Slow redisplay with long lines, Eli Zaretskii, 2014/05/16
- Re: Slow redisplay with long lines, Eli Zaretskii, 2014/05/16
- Re: line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/15
- Re: line buffer as Red Black Trees instead of linear, Eli Zaretskii, 2014/05/16
- Re: line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/16
- Re: line buffer as Red Black Trees instead of linear, Eli Zaretskii, 2014/05/16
- Re: line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/16
- Re: line buffer as Red Black Trees instead of linear, Thien-Thi Nguyen, 2014/05/16
- Re: line buffer as Red Black Trees instead of linear, Alin Soare, 2014/05/21
- Re: line buffer as Red Black Trees instead of linear, Eli Zaretskii, 2014/05/21