Title: Add `CALL_INTRINSIC` instruction. · Issue #99005 · python/cpython · GitHub
Open Graph Title: Add `CALL_INTRINSIC` instruction. · Issue #99005 · python/cpython
X Title: Add `CALL_INTRINSIC` instruction. · Issue #99005 · python/cpython
Description: We have a number of instructions that are complicated and executed fairly rarely. For example MAP_KEYS, CHECK_EG_MATCH, CLEANUP_THROW. These bulk out the interpreter, possibly slowing things down. We should move code from these into help...
Open Graph Description: We have a number of instructions that are complicated and executed fairly rarely. For example MAP_KEYS, CHECK_EG_MATCH, CLEANUP_THROW. These bulk out the interpreter, possibly slowing things down. ...
X Description: We have a number of instructions that are complicated and executed fairly rarely. For example MAP_KEYS, CHECK_EG_MATCH, CLEANUP_THROW. These bulk out the interpreter, possibly slowing things down. ...
Opengraph URL: https://github.com/python/cpython/issues/99005
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `CALL_INTRINSIC` instruction.","articleBody":"We have a number of instructions that are complicated and executed fairly rarely. For example `MAP_KEYS`, `CHECK_EG_MATCH`, `CLEANUP_THROW`.\r\nThese bulk out the interpreter, possibly slowing things down.\r\nWe should move code from these into helper functions, which can be called though a table from `CALL_INTRINSIC` instruction.\r\n\r\nThe `CALL_INTRINSIC` instruction also provides a means for contributors to add new functionality without a deep understanding of the compiler.\r\n\r\nCandidates for moving into `CALL_INTRINSIC` are:\r\n* SETUP_ANNOTATIONS\r\n* LOAD_BUILD_CLASS\r\n* MATCH_KEYS\r\n* CHECK_EG_MATCH\r\n* CLEANUP_THROW\r\n\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-100771\n* gh-100774\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/markshannon","@type":"Person","name":"markshannon"},"datePublished":"2022-11-02T14:30:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/99005/cpython/issues/99005"}
| 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:08480339-5d6f-35af-b9dd-37af0f7faf15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2D4:13A5D2:52B1FD:6D6AE5:696B6E3A |
| html-safe-nonce | 7c0e75ea28f43007521b6f1ded7cb46b7141d83786144e07644579a1ba03b68b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkQ0OjEzQTVEMjo1MkIxRkQ6NkQ2QUU1OjY5NkI2RTNBIiwidmlzaXRvcl9pZCI6IjIwOTg4Nzc4NTI3NzIxNjcyMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 26672b5559188a18f54b00d06a9e41b84a697ff1a999e992974483bb65ab0bab |
| hovercard-subject-tag | issue:1433246110 |
| 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/99005/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b8f42c508ae5b9be7126996d177660e4923abda7c1fe5400fe7d34d7d88b1d2b/python/cpython/issues/99005 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8f42c508ae5b9be7126996d177660e4923abda7c1fe5400fe7d34d7d88b1d2b/python/cpython/issues/99005 |
| og:image:alt | We have a number of instructions that are complicated and executed fairly rarely. For example MAP_KEYS, CHECK_EG_MATCH, CLEANUP_THROW. These bulk out the interpreter, possibly slowing things down. ... |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width