You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ccbf32b
Browse filesBrowse the repository at this point in the historyBrowse files
Speed up bind_self() in edge cases involving protocols (#22319)
Fixes#20828
This has no effect on self-check, but improves edge cases involving
self-types and protocols where currently performance is very bad. For
example, `altair` should be ~2x faster. Two things here:
* Use `bind_self_fast()` in situations where `type_checker` is not set
(e.g. late stages of semantic analysis).
* Add lightweight cache for cases where full `bind_self()` is required.
0 commit comments