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
Currently, the subclass_of clinic parameter is spelled out twice verbatim in the generated code. For heap type methods in isolated extension modules, the following pattern is often used:
Feature or enhancement
Follow-up of #101409
Currently, the
subclass_of
clinic parameter is spelled out twice verbatim in the generated code. For heap type methods in isolated extension modules, the following pattern is often used:This may result in the following generated code:
Now, the second call is definitely a slow path, so this is not too bad. I still think it would be an improvement to generate code such as this:
Linked PRs
The text was updated successfully, but these errors were encountered: