-
Notifications
You must be signed in to change notification settings - Fork 8
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
use extensions for LinearAlgebra
, SparseArrays
, Test
?
#298
Comments
I think this is indeed doable. I never considered it since they were stdlib but it might indeed decrease loading time. |
yeah, on julia versions before 1.11, stdlibs were baked into the sysimage, so the loading time was negligible. |
What is the point of this? In almost all packages that use MutableArithmetics, I would expect some dependency to also load LinearAlgebra or SparseArrays. |
I can understand the point about |
I'm more open to |
I took a look at this
Yip. This is what we'd have to do. But I don't particularly want to.
People use I think we should close this issue. I don't have plans to fix it. Could we have used a better design for Should we fix this in MA v2.0? Yes. By then package extensions will be in the LTS, and we could overhaul our testing to a new system. But I'm not going to release MA@2 just to fix this test issue. MA is used by >1100 packages, so a breaking change has the potential to cause a large disruption downstream. |
fair enough, thanks for your time addressing this issue. |
LinearAlgebra
andSparseArrays
can be easily migrated to an extension. TheTest
module seems harder to migrate (stubs for the functions could be created than are populated at extension loading time), but it seems like it is a private API, so changing the requirement of the Test module to be an extension is not so dramatic (considering most uses of test functions are normally used in a context where theTest
library is also loaded)The text was updated successfully, but these errors were encountered: