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
Raise PyType_Modified on split key insertion to avoid cached keys version check #150490
When we insert into a split dictionary we update the shared keys version - this is used to invalidate caches for loading methods and loading class values and requires us to check the keys version. Instead we can raise PyType_Modified which lets us rely on the type version check + has inline values check instead of validating that we have the correct keys version. This gets rid of loading the cached keys version, the objects type (although likely the compiler eliminates this already), loading the cached keys from the type, and then loading the keys version and comparing it against the cached value.
Activity
gh-150490: Raise PyType_Modified for insertion into split dictionary (#…
pythongh-150490: Raise PyType_Modified for insertion into split dicti…
gh-152238: Revert gh-150490 and gh-152200. (gh-152232)
gh-150490: Raise PyType_Modified for insertion into split dictionary …