[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remote display-time-mail-file
From: |
Michael Albinus |
Subject: |
Re: Remote display-time-mail-file |
Date: |
Sat, 18 Sep 2010 12:49:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> That's true, but my conclusion from this is different: we probably
> should have finer granularity of the cache setting.
>
> I guess some of the internal Tramp functions need not be called any
> time soon after the first call, for example those that find out which
> method to use to access the remote and which scripts to run on the
> remote side. Other internal functions will need to run every time
> display-time-file-nonempty-p is called. And there could be those in
> between. So perhaps these internal functions should be categorized in
> some reasonable manner, and then corresponding values added to the
> repertoire of tramp-cache-inhibit-cache's values, so that Lisp
> programs could have finer control on what is being cached and when the
> cache is refreshed.
When I have started with Tramp 2.1, 5 years ago, I did some profiling
with Tramp. IIRC, there are only some few functions (like
file-attributes), which are called frequently, and which profit from
caching more than other functions. Maybe we shall rerun this profiling
again, since we have started Tramp 2.2 :-)
I guess we could use caching just for these high-runner functions; for
the other ones it doesn't matter whether we have caching, or not.
Best regards, Michael.
- Re: Remote display-time-mail-file, (continued)
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/16
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/17
- Re: Remote display-time-mail-file, Stefan Monnier, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/17
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/18
- Re: Remote display-time-mail-file, Stefan Monnier, 2010/09/18
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/18
- Re: Remote display-time-mail-file,
Michael Albinus <=
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/30
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/30
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/30
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/18