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
Finish up LOAD_ATTR specialisation #100288
Comments
Oh I am interested in if you don't mind? |
Sure! Go ahead! |
CC @markshannon just these two added specialisations should net us 10% all specialisation failures/successes, bringing us to over 90% specialisation successes. |
@corona10 seems like the stats were misleading, not in dict is actually the following:
So it's a class attribute lookup, which makes more sense. |
Thanks I read the PR too: #100295 |
Regarding "not managed dict" failures, I think the approach should be to reduce the number of objects that don't have managed dicts, not specialize for them. We can tweak the management of cached keys, and do some static analysis in the compiler to do that. |
Fidget-Spinner commentedDec 16, 2022
•
edited by bedevere-bot
We should target the following specialisation failures:
With these two we can hit >90% specialisation successes.
If we're feeling really ambitious, we could aim for "not managed dict" failure too. But we don't need that to achieve >90% successes.
I'm doing the first one. Is anyone interested in investigating the second specialisation failure?
Linked PRs
The text was updated successfully, but these errors were encountered: