-
-
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
performance gain when kernel operation is wrapped with a function #37558
Comments
Probably due to #35982. |
I think we might be able to fix this by removing just the part that treats unreachable nodes the same as throw calls, so that we can still optimize the call to |
To be clear, that would fix the regression since 1.5, but it's not easy to fix the need to manually out-line the error function. |
If it's only about the gc frame that's in the pipeline. |
This originates from JuliaArrays/OffsetArrays.jl#136 (comment)
These two works equivalently, but their performance is slightly different:
I'm really unsure what an appropriate title should be, please rename it if that's unclear.
cc: @jishnub @stevengj
The text was updated successfully, but these errors were encountered: