[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8890: 23.3; message writing slows emacs
From: |
Dave Abrahams |
Subject: |
bug#8890: 23.3; message writing slows emacs |
Date: |
Fri, 16 Sep 2011 11:09:59 -0400 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) |
on Fri Sep 16 2011, Eli Zaretskii <eliz-AT-gnu.org> wrote:
>> From: Stefan Monnier <monnier@iro.umontreal.ca>
>
>> Date: Fri, 16 Sep 2011 09:18:51 -0400
>> Cc: 8890@debbugs.gnu.org
>>
>> "A few milliseconds" sounds negligible, but if it's done at every
>> iteration of a loop whose body takes less than a millisecond to run
>> (we can do a lot of work in a millisecond on today's machines), then
>> it's a major slowdown.
>
> Then programmers who run those loops should update the progress less
> aggressively. Redisplay (and infrastructure in general) lack the
> context that would allow them to make good decisions as to when defer
> repeated display. Only the calling application can know that.
There's a middle path: provide a `progress-message' function. That
allows the caller to provide the semantic context that this particular
message isn't critical without burdening every single application with
building its own throttling updater.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
- bug#8890: 23.3; message writing slows emacs, (continued)
- bug#8890: 23.3; message writing slows emacs, Lars Magne Ingebrigtsen, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Dave Abrahams, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Eli Zaretskii, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Lars Magne Ingebrigtsen, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Eli Zaretskii, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Juri Linkov, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Stefan Monnier, 2011/09/17
- bug#8890: 23.3; message writing slows emacs, Lars Magne Ingebrigtsen, 2011/09/18
- bug#8890: 23.3; message writing slows emacs, Stefan Monnier, 2011/09/18
- bug#8890: 23.3; message writing slows emacs, Lars Magne Ingebrigtsen, 2011/09/21
- bug#8890: 23.3; message writing slows emacs,
Dave Abrahams <=