-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement CALL_FUNCTION adaptive interpreter optimizations #88691
Comments
CALL_FUNCTION can be specialized. Copying from Mark's comments faster-cpython/ideas#54 (comment)
I've prepared a PR that should speed up non-keyword calls to PyCFunction. It covers specializations 3 and 4. Stable pyperf microbenchmarks show 5-15% less call overhead for some PyCFunctions. Please see faster-cpython/ideas#54 (comment) for the benchmark script and results. This issue is also tied to bpo-44207 (Add a version number to Python functions) which will be required for specializations 1 and 2. |
Unfortunately, PR 26934 has broken thes 390x RHEL7 LTO 3.x buildbot as you can see before. As per the buildbot maintenance procedures, we will need to revert this PR unless is fixed in 24 hours. |
Is there anything left to do on this? |
Closing. Please feel free to re-open if we missed anything. |
CALL_FUNCTION
for C function calls #26934CALL_FUNCTION_BUILTIN_O
#29271unittest/test_brake
#31273Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
CALL
caches #103230The text was updated successfully, but these errors were encountered: