bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54025: 27.2; dired-do-find-regexp skips occurences


From: Dmitry Gutov
Subject: bug#54025: 27.2; dired-do-find-regexp skips occurences
Date: Sat, 26 Feb 2022 02:28:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Hi Michael,

On 25.02.2022 17:05, Michael Albinus wrote:

On 25.02.2022 10:13, Michael Albinus wrote:
Tramp does not use caches when computing
verify-visited-file-modtime. Let's see how it goes.

I certainly hope that it doesn't invoke a remote call every time this
function is called (when called locally, it hits the disk).

verify-visited-file-modtime needs to read the file-attributes. That's
the idea of this function.

IIUC Tramp caches some information about files, and flushes those cashes after "destructive" operations. "Last modification time" could reside in such a cache.

Yes, every time it is called, it goes remote.

Thanks for the confirmation. I guess we need to predicate that check on the file being local, because the worst-case performance in our scenario (remote system with high rtt) could be very bad.

We might even drop if later if some hdd users see a slowdown in common scenarios. It's a secondary check, after all.

Commit 018eeb655a.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]