[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] 5x speedup of flyspell-buffer
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] 5x speedup of flyspell-buffer |
Date: |
Thu, 13 Apr 2023 09:54:59 +0300 |
> Date: Wed, 12 Apr 2023 06:50:30 -0700
> From: Ilya Zakharevich <ilya@ilyaz.org>
>
> With the included patch, on my system flyspell-buffer speeds up 5
> times. For my typical file sizes, this is 20sec -> 4sec on a 600K
> LaTeX file with 10,000 words detected by `aspell´ — which makes
> using flyspell feasible.
>
> The version is not the most recent, but IIUC, flyspell did not change.
>
> (The number 1.05 below is chosen to lower overhead of messages 50 times,
> from 5x to 0.1x. It is related to log(10000)/0.05 ∼ 10000/50.)
Thanks, but does it indeed make sense to print these progress message
with logarithmically-increasing intervals? Why not simply decimate
the messages by printing them every N words or so? N could be
computed at the beginning of the command as function of the size of
the region to be spell-checked, assuming some suitable value of
average length of a word. WDYT?
- [PATCH] 5x speedup of flyspell-buffer, Ilya Zakharevich, 2023/04/12
- Re: [PATCH] 5x speedup of flyspell-buffer,
Eli Zaretskii <=
- Re: [PATCH] 5x speedup of flyspell-buffer, Ilya Zakharevich, 2023/04/13
- Re: [PATCH] 5x speedup of flyspell-buffer, Eli Zaretskii, 2023/04/13
- Re: [PATCH] 5x speedup of flyspell-buffer, Ilya Zakharevich, 2023/04/14
- Re: [PATCH] 5x speedup of flyspell-buffer, Eli Zaretskii, 2023/04/14
- Re: [PATCH] 5x speedup of flyspell-buffer, Dr. Arne Babenhauserheide, 2023/04/14
- Re: [PATCH] 5x speedup of flyspell-buffer, Eli Zaretskii, 2023/04/14
- Re: interacting during (sit-for 0). Was: [PATCH] 5x speedup of flyspell-buffer, Ilya Zakharevich, 2023/04/15
- Re: interacting during (sit-for 0). Was: [PATCH] 5x speedup of flyspell-buffer, Ilya Zakharevich, 2023/04/15