-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reduce invalidations #84
Comments
The question is how to fix this? These methods all are there so that things work correctly... |
I'd like to echo @sethaxen 's observation. I wasn't even aware that I have DataValues in my Manifest, but invalidations analysis revealed a huge number of inv. happening because of DataValues. Just the convert method alone caused >8000 invalidations (see below).
I'm clueless about how to solve this without breaking things I don't understand, so my temporary solution was:
The outcome was 2s faster package load. |
Loading DataValues causes a lot of invalidations, which in turn require a lot of already loaded package code to be recompiled (see at the bottom of this post):
It would be nice to at least fix these methods, which together invalidate about 9,000 methods:
DataValues.jl/src/scalar/core.jl
Line 223 in d568d25
DataValues.jl/src/scalar/core.jl
Line 42 in d568d25
DataValues.jl/src/scalar/core.jl
Line 224 in d568d25
Here are the invalidations on v1.8:
The text was updated successfully, but these errors were encountered: