[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode
From: |
Chong Yidong |
Subject: |
bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode |
Date: |
Sat, 18 Feb 2012 11:37:33 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) |
Chong Yidong <cyd@gnu.org> writes:
> I just noticed that when I do `ls --color=no' rather than just `ls',
> insertion and scrolling are very fast. The sluggishness only appears
> when ls color highlighting is enabled. So the inefficiency of
> ansi-color.el, and its use of overlays, seems to play a role.
I just confirmed that the sluggishness goes away if I change
ansi-color.el to make it use text properties. Wish I'd remembered to do
that before the pretest began.
Roughly what is happening, I think, is that when overlays are heavily
used and there are no paragraph breaks (e.g. from the `time' output),
the bidi code does enough the additional overlay lookups to produce a
noticeable slowdown.
I'm not sure what's the best fix right now, though.
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Chong Yidong, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Chong Yidong, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Andreas Schwab, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Eli Zaretskii, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Chong Yidong, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Eli Zaretskii, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Chong Yidong, 2012/02/17
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode,
Chong Yidong <=
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Eli Zaretskii, 2012/02/18
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Eli Zaretskii, 2012/02/18
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Chong Yidong, 2012/02/19
- bug#10835: 24.0.93; bidi-paragraph-direction slows down Shell mode, Eli Zaretskii, 2012/02/18