-
-
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
types: fix cache computation #41935
types: fix cache computation #41935
Conversation
Thanks for working on this Jameson! Excited to test this out! :) |
I remember being a bit puzzled about the |
@@ -1593,14 +1593,13 @@ jl_tupletype_t *jl_inst_arg_tuple_type(jl_value_t *arg1, jl_value_t **args, size | |||
// `jl_typeof(ai)`, but that will require some redesign of the caching | |||
// logic. | |||
ai = (jl_value_t*)jl_wrap_Type(ai); | |||
cacheable = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is beyond me. What case did this prevent from caching?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is a different way to compute the same thing
🎉 |
Can this be backported to 1.7 / get a I also verified that this fixes the issue ( |
Need to compute `cacheable` after normalization, since the purpose of the normalization was to turn these into normal cacheable objects, when applicable. Brokenness exposed by JuliaLang#36211 Fixes JuliaLang#41503
Need to compute `cacheable` after normalization, since the purpose of the normalization was to turn these into normal cacheable objects, when applicable. Brokenness exposed by JuliaLang#36211 Fixes JuliaLang#41503
Need to compute
cacheable
after normalization, since the purpose ofthe normalization was to turn these into normal cacheable objects,
when applicable.
Brokenness exposed by #36211
Fixes #41503