Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-85283: Build _statistics extension with the limited C API#116927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I made a previous attempt last August: PRgh-108500. It made _statistics._normal_dist_inv_cdf() 2x slower because of the usage of the legacy METH_VARARGS calling convention, instead of more recent and faster METH_FASTCALL. This new attempt keeps METH_FASTCALL thanks to recent Argument Clinic changes, and so it has no impact on performance. Or maybe it's a little bit faster thanks to inlining. |
Argument Clinic now inlines _PyArg_CheckPositional() for the limitedC API. The generated code should be as fast or even a little bitfaster.
…ython#116927)Argument Clinic now inlines _PyArg_CheckPositional() for the limitedC API. The generated code should be as fast or even a little bitfaster.
…ython#116927)Argument Clinic now inlines _PyArg_CheckPositional() for the limitedC API. The generated code should be as fast or even a little bitfaster.
…ython#116927)Argument Clinic now inlines _PyArg_CheckPositional() for the limitedC API. The generated code should be as fast or even a little bitfaster.
Uh oh!
There was an error while loading.Please reload this page.
Argument Clinic now inlines _PyArg_CheckPositional() for the limited C API. The generated code should be as fast or even a little bit faster.