-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
Precompiling when using a single package causes unnecessary precompilation of other packages #3871
Comments
Project.toml:
|
Script to reproduce:
|
Can you add the output of |
|
So this is happening because ThreadsX depends on Transducers which has TransducersDataFramesExt, and when we go to collect all the deps of ThreadsX we include any extensions that could be loaded in the env. We could narrow it to just extensions that would be loaded based on the current loaded modules. So if DataFrames isn't currently loaded, don't precompile TransducersDataFramesExt which would mean DataFrames wouldn't be added to the list. |
Invoking
using ThreadsX
will result in DataFrames precompiling although DataFrames did not need to be precompiled to use ThreadsX.Reproduced when using Julia 1.10.2 and Julia 1.11.0-beta1
The text was updated successfully, but these errors were encountered: