[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/1] Try using file-attributes cache in file-executable-p, co
From: |
Michael Albinus |
Subject: |
Re: [PATCH 1/1] Try using file-attributes cache in file-executable-p, code refactoring |
Date: |
Tue, 18 Aug 2009 11:31:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Julian Scheid <address@hidden> writes:
>> In the case of ?rwx?????? all three cache values for file-readable-p,
>> file-writable-p and file-executable-p could be set (if owner ==
>> remoteuid), wherever it is detected. This will speed up next file-*-p
>> calls as well.
>
> I don't think I understand, I think this already works. When
> ?rwx?????? is known this means that file-attribute cache is present,
> which means all subsequent file-*-p will not have to perform remote
> ops in this case.
You're right. Forget my babble.
Best regards, Michael.
Re: [PATCH 1/1] Try using file-attributes cache in file-executable-p, code refactoring, Michael Albinus, 2009/08/18