Skip to content

Generate dill files for faster startup. #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bsutton opened this issue Mar 1, 2022 · 1 comment
Closed

Generate dill files for faster startup. #189

bsutton opened this issue Mar 1, 2022 · 1 comment

Comments

@bsutton
Copy link
Collaborator

bsutton commented Mar 1, 2022

When dcli launches a script it is rather slow.
If we compiled the script to a dill file on first run then it would run much faster after that.
Only issue is that we need to be able to efficiently detect if a package src changes so we know when to re-compile the dill.
Also need to recompile if the SDK version changes.

dart-lang/pub#1683

gitbook-com bot pushed a commit that referenced this issue Sep 17, 2022
@bsutton
Copy link
Collaborator Author

bsutton commented Apr 5, 2024

doesn't look like this will be possible.

@bsutton bsutton closed this as completed Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant