The command file-directory-p should also be cached. Fortunately, the result is already cached so all that is needed is to add this function to the list. Performance of the ssh commands for vc-register is improved by 170% with this patch.
How can I help get this patch into the repository?
Eyal