forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Precompile
watch_file
and a few other functions used by Revise (Jul…
…iaLang#37403) Together with some internal changes coming in Revise v3.0, on my machine this drops the overhead of `using Revise` from 3.5s to 0.5s. This change only contributes about 0.1s of that time, but out of 0.5s it's a noticeable improvement. The only one of these that makes a sizable impact is `watch_file`, but this does ensure that Revise doesn't trigger any additional "generic" compilation.
- Loading branch information
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters