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
Redesign PyCodeObject.co_extras to use a single memory block, instead of two #74972
Comments
Currently, _PyCode_SetExtra() uses two memory block for code extras. Using a different structure, it would be possible to use a single memory block: less memory fragmentation, better CPU cache usage, less indirections, etc. It matters since the long term plan for co_extras is to implement of kind-of JIT compiler insider CPython: see bpo-28158. |
Since nobody has provided a patch I have made it myself. |
How is this related to datetime module? I hope you didn't reverted too much? |
I'm sorry for the spam. It was the first time that I really used the |
I'm sorry for the spam. It was the first time that I really used the |
Note: 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:
The text was updated successfully, but these errors were encountered: