-
Notifications
You must be signed in to change notification settings - Fork 110
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
Possibly interesting features of Julia v1.8 #1075
Comments
Thanks a lot for this summary! You preempted me adding this as a topic to tomorrow's agenda ;-)
How would that work? I understand that adding type annotations may make the code faster due to type stability, but what's the role of |
Our way of doing this right now, e.g., Lines 38 to 43 in 041c4df
|
Ah, you mean with the upcoming change we can get rid of the |
Yes, that's how I understand it. |
Re: sparse behavior. I don't think we use that but I'll check |
I also think that we sparsify the arrays explicitly, but checking is always better |
If JuliaLang/julia#44359 gets backported to Julia v1.8, we should check our new CI times with code coverage. |
As far as I understand, actually constant globals are still the best option. The ability to type-annotate globals should be not to make non-constant globals horribly slow, but if you care about performance a lot you shouldn't get rid of
Edit: however a constant
The LLVM IR is similar (but not identical, access to the non-constant global is atomic). |
Yeah, the few global variables that we use are constant global |
From https://github.com/JuliaLang/julia/blob/v1.8.0-beta1/NEWS.md:
May be interesting for stuff like MHD
May be interesting to avoid global constants using
Ref
s.See Think about callsite inlining when it's shipped officially #836
Should allow us to get rid of our dependency IfElse.jl.
Mostly for development
We should check whether we rely on this changed behavior somewhere (
DGMulti
, I'm looking at you)Should be helpful for investigating multithreaded performance
The text was updated successfully, but these errors were encountered: