-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Optimise get_io_state() #101469
Copy link
Copy link
Closed
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirperformancePerformance or resource usagePerformance or resource usage
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirperformancePerformance or resource usagePerformance or resource usage
The
_ioextension module is required to bootstrap Python, so we can safely use internal C APIs. We should use static inlined_PyModule_GetStateinstead of the slowerPyModule_GetState.Linked PRs