Julian Scheid <[email protected]> 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.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to