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
Events such as using changing the __code__ attribute of a function, or the __bases__ of a class, are rare.
At least we presume that they are rare.
We want to optimize code with the assumption that they are rare (see See faster-cpython/ideas#645).
So, we needs stats to confirm that they are rare, and hopefully give us some insight into how rare.
We should add a struct to the interpreter to track these events as they occur, and if stats are enabled add that data to the stats output.