Skip to content
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

Weak deps/Extension pkgs on Unitful? #240

Open
anandijain opened this issue Jan 25, 2023 · 1 comment
Open

Weak deps/Extension pkgs on Unitful? #240

anandijain opened this issue Jan 25, 2023 · 1 comment
Labels
⭐✨ Quality ✨⭐ QA, cleaning, testing, CIs

Comments

@anandijain
Copy link
Collaborator

julia> @time_imports using SBML
      2.5 ms  Zlib_jll
      3.1 ms  Libiconv_jll
      1.8 ms  XML2_jll
     63.9 ms  SBML_jll
      1.9 ms  DocStringExtensions
     10.9 ms  IfElse
      8.6 ms  ConstructionBase
    832.3 ms  Unitful
    160.4 ms  SBML

I usually don't use the Unitful stuff, so maybe it would be a good candidate for https://pkgdocs.julialang.org/dev/creating-packages/#Weak-dependencies

this is off the cuff, no urgency

@exaexa
Copy link
Collaborator

exaexa commented Jan 25, 2023

Hi, yeah this is very true and actually one of the reason I had to remove symbolics (the overhead of these was just too much). If there's some straightforward and reliable way to make unitful load on demand, let's do it. We could even push Unitful to a separate package (UnitfulSBML.jl? :D ), but l'd still prefer something that leaves the repo in one piece.

Btw, how does the Julia1.9 precompilation speedup affect unitful? Wouldn't there be some opportunity to massively fix the load times by fixing methods, like as happened with JuMP?

@exaexa exaexa added the ⭐✨ Quality ✨⭐ QA, cleaning, testing, CIs label Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐✨ Quality ✨⭐ QA, cleaning, testing, CIs
Projects
None yet
Development

No branches or pull requests

2 participants