-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(runtime): move semantic analysis to the finalize step
This moves the semantic analysis to the finalize step like it was previously. For applications that avoid finalizing unless they are using the interpreter, this should restore the quicker startup time because package registration will store the AST and move on. In the longer term, we probably want to stop using `init()` so much and switch to a system where the application explicitly pulls packages into the runtime. For now, this is more simple and doesn't involve any changes to existing applications and restores the previous speed for commands that do not use flux but import the flux runtime.
- Loading branch information
1 parent
d2dde4a
commit 6812212
Showing
2 changed files
with
33 additions
and
17 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