[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
Re: [PATCH 1/1] Try using file-attributes cache in file-executable-p, code refactoring
Tue, 18 Aug 2009 10:43:49 +0200
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 !=
> 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.
Best regards, Michael.
Re: [PATCH 1/1] Try using file-attributes cache in file-executable-p, code refactoring, Michael Albinus, 2009/08/18