Title: PEP 703 Deferred reference counts · Issue #121459 · python/cpython · GitHub
Open Graph Title: PEP 703 Deferred reference counts · Issue #121459 · python/cpython
X Title: PEP 703 Deferred reference counts · Issue #121459 · python/cpython
Description: Feature or enhancement Proposal: PEP 703 proposes deferred reference counting to reduce contention between threads on shared objects' reference count fields. This issue is not in conflict with Faster CPython's scheme of fully removing re...
Open Graph Description: Feature or enhancement Proposal: PEP 703 proposes deferred reference counting to reduce contention between threads on shared objects' reference count fields. This issue is not in conflict with Fast...
X Description: Feature or enhancement Proposal: PEP 703 proposes deferred reference counting to reduce contention between threads on shared objects' reference count fields. This issue is not in conflict with ...
Opengraph URL: https://github.com/python/cpython/issues/121459
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PEP 703 Deferred reference counts","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\n[PEP 703](https://peps.python.org/pep-0703/#deferred-reference-counting) proposes deferred reference counting to reduce contention between threads on shared objects' reference count fields.\r\n\r\nThis issue is not in conflict with Faster CPython's scheme of fully removing reference counts in the eval loop. In fact, some of the work runs parallel to it and will actually help it.\r\n\r\nThere are 3 wins I can observe right now:\r\n* deferring `LOAD_GLOBAL`\r\n* deferring `LOAD_ATTR`\r\n* deferring frames' strong references on the code object and function (this is the hardest of the three)\r\n\r\nI shall proceed in this order.\r\n\r\n### Has this already been discussed elsewhere?\r\n\r\nNo response given\r\n\r\n### Links to previous discussion of this feature:\r\n\r\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-123128\n* gh-124085\n* gh-124101\n* gh-124894\n* gh-125711\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/Fidget-Spinner","@type":"Person","name":"Fidget-Spinner"},"datePublished":"2024-07-07T15:10:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/121459/cpython/issues/121459"}
| 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:971b7e61-2f7d-ef0c-6415-f76d94e8e452 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7F0:38F4B9:9D7C94:E53131:6A561EED |
| html-safe-nonce | 71fe8086e9228cc8ab7afd3e210666a4346fbbf2fa8e7df10ae84b614c358bd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0YwOjM4RjRCOTo5RDdDOTQ6RTUzMTMxOjZBNTYxRUVEIiwidmlzaXRvcl9pZCI6IjY0MjM2MDI3MDA4NDg4NjUwMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2da4e836e8e4d40bb9b4ccd092f927ec0610e795041d3f3eb43f4c028188912d |
| hovercard-subject-tag | issue:2394094688 |
| 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/121459/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee81f4d3eb3dce39a10b428f2562b1d612c26cab8a43c924d8839985fc09d6eb/python/cpython/issues/121459 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee81f4d3eb3dce39a10b428f2562b1d612c26cab8a43c924d8839985fc09d6eb/python/cpython/issues/121459 |
| og:image:alt | Feature or enhancement Proposal: PEP 703 proposes deferred reference counting to reduce contention between threads on shared objects' reference count fields. This issue is not in conflict with Fast... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Fidget-Spinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | eeb71977be324ce2bc7c4afd597296b8e3527d8922ad94632edd7a7296f8031b |
| 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 | 3e7957744c8a44d05ff1e464dc5d119e60b98fae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width