[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 10:43:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Julian Scheid <address@hidden> writes:
> Sorry, I should have mentioned it's only preliminary. There are other
> optimizations as well, for instance for ---------- all three defuns
> can return nil and for -rwx------ they can return nil if owner !=
> remoteuid.
>
> But still, this should be better than what's there so any reason not
> to commit this? Taking little steps and all that :-)
That's true. I'll commit it tonight.
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.
> Julian
Best regards, Michael.
Re: [PATCH 1/1] Try using file-attributes cache in file-executable-p, code refactoring, Michael Albinus, 2009/08/18