-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Conditional Loading of Packages #193
Comments
Interesting idea but in that case the user would need to write |
From what I have read and understood about |
So does it have it be something like
Since Requires.jl reads
But I don't think we need to perform anything apart from just delaying the loading part ? |
That is my understanding of what Requires.jl would do here. I haven't had much time to look into this. Would you be able to experiment with this functionality to decrease the precompile time @Sov-trotter? I'd be happy to provide support you in creating a PR. 🙂 |
We probably want this only for the image viewer as I assume Gtk requires the most. This assumption needs to be tested 😄 . Thanks for your comment @Sov-trotter and yeah if you're interested we appreciate your help 😉 |
Sorry I should've created a PR by now but I am running into the error.
I tried to fix Gtk based on the other issues on Gtk.jl. Almost bricked gnome in that process. :( |
Hey @Sov-trotter no worries! I have had that error before on Linux-based machines. What machine are you using? If you are using a linux based machine, this solution should assist: https://askubuntu.com/questions/208431/failed-to-load-module-canberra-gtk-module |
Closed due to inability to solve and fix at the moment. May reopen someday! |
Is your feature request related to a problem? Please explain.
I have noticed recently that
using Javis
seems to be taking much longer than it used to. I ran some benchmarks and it was somewhat concerning:v0.1.5 Benchmarks:
v0.1.0 Benchmarks:
We have currently doubled the compile time of
Javis
! 😱Describe the solution you'd like
I would like to conditionally compile packages as they are needed. Obviously, some packages that are critical would always be loaded but I think we need to identify where the compile time issues come from.
Describe alternatives you've considered
Thanks to a suggestion from @mcabbott I think
Requires.jl
would help fix this problem.The text was updated successfully, but these errors were encountered: