Title: Remove the "CFrame" struct as it is no longer needed for performance. · Issue #108035 · python/cpython · GitHub
Open Graph Title: Remove the "CFrame" struct as it is no longer needed for performance. · Issue #108035 · python/cpython
X Title: Remove the "CFrame" struct as it is no longer needed for performance. · Issue #108035 · python/cpython
Description: In 3.11 we added a "CFrame" struct that sits on the C stack. This struct held a pointer to the current frame, and a "use_tracing" field. Since we needed to check this field on every bytecode dispatch, it was very hot and needed to be on ...
Open Graph Description: In 3.11 we added a "CFrame" struct that sits on the C stack. This struct held a pointer to the current frame, and a "use_tracing" field. Since we needed to check this field on every bytecode dispat...
X Description: In 3.11 we added a "CFrame" struct that sits on the C stack. This struct held a pointer to the current frame, and a "use_tracing" field. Since we needed to check this field on e...
Opengraph URL: https://github.com/python/cpython/issues/108035
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove the \"CFrame\" struct as it is no longer needed for performance.","articleBody":"In 3.11 we added a \"CFrame\" struct that sits on the C stack. This struct held a pointer to the current frame, and a \"use_tracing\" field.\r\nSince we needed to check this field on every bytecode dispatch, it was very hot and needed to be on the C stack for performance.\r\n\r\nWith PEP 669, that field is gone and there is no need for the \"CFrame\" any more. We should remove it and revert to the keeping a pointer to the current frame in the thread state.\r\n\r\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-108036\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/markshannon","@type":"Person","name":"markshannon"},"datePublished":"2023-08-16T15:50:44Z","url":"https://github.com/python/cpython/issues/108035"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2f5d7239-d98c-56eb-d3b0-451ee4e42791 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB08:293912:7079C4:939F09:6B024E0A |
| html-safe-nonce | 0a9df8ed89869261867f217d903bb5c7b6ff97630d766207919cdf8482c9aaf9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjA4OjI5MzkxMjo3MDc5QzQ6OTM5RjA5OjZCMDI0RTBBIiwidmlzaXRvcl9pZCI6IjUxNjU5NzM3OTc3MDIwOTQzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f90c1eb32725ba4468bbc1b8c89298dcfe3abcd871d1982983a80e3c8dda5a77 |
| hovercard-subject-tag | issue:1853508983 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/108035/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1382df15a40fadff247a6e8005fb20fe70ae3c60bf4b724f0bf6bcc09955f32/python/cpython/issues/108035 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1382df15a40fadff247a6e8005fb20fe70ae3c60bf4b724f0bf6bcc09955f32/python/cpython/issues/108035 |
| og:image:alt | In 3.11 we added a "CFrame" struct that sits on the C stack. This struct held a pointer to the current frame, and a "use_tracing" field. Since we needed to check this field on every bytecode dispat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | markshannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width