-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix invalidations in logging #46481
fix invalidations in logging #46481
Conversation
Is it problematic for |
I honestly don't know. I just saw the report of SnoopCompile.jl shown in my first post. I thought that |
An alternative for this particular case could be to remove the overload of |
As you pointed out it is a quick fix to a bigger problem because other packages are still overloading it. I'm definitely not going to put a strong fight against not overloading it in static if that's the way the winds blow, but I think Static.jl gets caught first for some of these just because it's widely depended on. |
LoopVectorization.jl is the harder case because it needs to have the |
Yeah, I submitted quite a lot of them today (see https://discourse.julialang.org/t/potential-performance-regressions-in-julia-1-8-for-special-un-precompiled-type-dispatches-and-how-to-fix-them/86359/6) |
This is a follow-up to JuliaLang#46481. I suggest the labels `latency` and `backport-1.8`.
This is a follow-up to JuliaLang#46481. I suggest the labels `latency` and `backport-1.8`.
(cherry picked from commit ce6e9ee)
This is a follow-up to #46481. I suggest the labels `latency` and `backport-1.8`.
This should hopefully fix 905 invalidations coming from Static.jl.
Here is the code:
Since
isopen
is documented to return aBool
, this type annotation should help prevent some invalidations.