-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
performancePerformance or resource usagePerformance or resource usagetype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
In PyObject_RichCompareBool there is a fast path for the common case where PyObject_RichCompare returns a bool. In that path there is no need to decref the result, since bool values are immortal.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
performancePerformance or resource usagePerformance or resource usagetype-featureA feature request or enhancementA feature request or enhancement