Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Memoize result value in Utilities.getremote
Utilities.getremote is called when figuring out the URL to methods while rendering the documentation. A profile of makedocs for Documenters docs showed that almost half of the collected samples was inside getremote, and in particular in the spawned process to git. This patch memoizes the result of getremote. This should give noticeable improvements, since this function is often often called with the same argument.
- Loading branch information