emacs-devel
[Top][All Lists]
Advanced

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

Re: master 1e3b0f2: Improve doc strings of project.el


From: Michael Albinus
Subject: Re: master 1e3b0f2: Improve doc strings of project.el
Date: Sun, 12 Jul 2020 19:19:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

Hi Dmitry,

> Cache invalidation aside, when talking about Tramp I was more curious
> whether its caching would be enough to speed up repeated invocations
> of project-try-vc. Or even said invocations from files belonging to
> the same directory, for instance.
>
> Right now it relies on vc-root being cached, which allows it to skip
> some operations most of the time. But it also performs remote IO to
> read local variable values, and to fetch the list of git submodules.
>
> And if we allow customizing root markers, that would stop make
> project-vc call locate-dominating-file directly. I'm guess that would
> circumvent any existing caches in Tramp. Please correct me if I'm wrong.

Tramp caching is just about file information, nothing else. It does not
cache anything about vc git submodule lists or locate-dominating-file
results or whatever.

Best regards, Michael.



reply via email to

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