10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Now that we have type versions installed in #119258 . We can use the information to constant propagate through attribute loads.
This means something like
dict.fromkeys()
becomes the same as
dict_fromkeys()
Note: this is just a constant load, not an attribute lookup!
No response given
No response
The text was updated successfully, but these errors were encountered:
CC @saulshanabrook this is building off your work!
Sorry, something went wrong.
Nevermind, I forgot we yet to have a specialization for builtin class loads, so we can't do this until we add the tier 1 specialization.
For now, I can add this for tier 2 just for Python classes.
Fidget-Spinner
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Feature or enhancement
Proposal:
Now that we have type versions installed in #119258 . We can use the information to constant propagate through attribute loads.
This means something like
dict.fromkeys()
becomes the same as
dict_fromkeys()
Note: this is just a constant load, not an attribute lookup!
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: