Subject: bug#6964: 23.2; revert-buffer takes 60 times longer than initial read

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 21 Aug 2019 15:30:58 -0700

"Daniel B." <[email-masked]> writes:

> Reverting a file (executing revert-buffer) takes much (e.g., 60 times)
> longer than reading the file initially.
>
> For a 30MB file that originally took about 3 seconds to load, executing
> revert-buffer took 179 seconds.

(I'm going through old bug reports that have unfortunately gotten no
attention yet.)

I tried reproducing this with a 200MB binary file.  Reading it initially
took less than a second, and saying `M-x revert-buffer' seemed to take
about the same time.

Are you still seeing this problem, and if so, what kind of data do you
have in the buffer when it takes this long?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no