Title: Improve performance for switch in ceval.c when using MSVC · Issue #91719 · python/cpython · GitHub
Open Graph Title: Improve performance for switch in ceval.c when using MSVC · Issue #91719 · python/cpython
X Title: Improve performance for switch in ceval.c when using MSVC · Issue #91719 · python/cpython
Description: We've received reports of MSVC not generating optimal code, e.g. gh-89279. One possible improvement would be to get the big switch statement in ceval.c to generate better code. It's been rumored that MSVC will generate essentially a comp...
Open Graph Description: We've received reports of MSVC not generating optimal code, e.g. gh-89279. One possible improvement would be to get the big switch statement in ceval.c to generate better code. It's been rumored th...
X Description: We've received reports of MSVC not generating optimal code, e.g. gh-89279. One possible improvement would be to get the big switch statement in ceval.c to generate better code. It's been ru...
Opengraph URL: https://github.com/python/cpython/issues/91719
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve performance for switch in ceval.c when using MSVC","articleBody":"We've received reports of MSVC not generating optimal code, e.g. gh-89279.\r\n\r\nOne possible improvement would be to get the big switch statement in ceval.c to generate better code. It's been rumored that MSVC will generate essentially a computed goto if all cases are filled.\r\n\r\nSee my investigations at https://github.com/faster-cpython/ideas/issues/321#issuecomment-1103263673","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2022-04-20T01:32:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/91719/cpython/issues/91719"}
| 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:b0f7eed3-f695-4a0c-0793-42f2c22ef0c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 980C:20E038:4BBDBC:630FAB:696B4347 |
| html-safe-nonce | 4352c3882899e8f89897cc4258ce133ce2739b88bdf03b36fc35421937a40976 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODBDOjIwRTAzODo0QkJEQkM6NjMwRkFCOjY5NkI0MzQ3IiwidmlzaXRvcl9pZCI6Ijc2MzQ2MTE4NjMwMzUwOTMxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8f159eb9bc2582e06359ceb3c8c461e8a579fcfd77eb5d83d9d81f3359e20ba6 |
| hovercard-subject-tag | issue:1209055169 |
| 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/91719/issue_layout |
| twitter:image | https://opengraph.githubassets.com/60091f3a32e3aea0d59b8c111192700bff61bdba36874be2014ecaeb3dc700e5/python/cpython/issues/91719 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60091f3a32e3aea0d59b8c111192700bff61bdba36874be2014ecaeb3dc700e5/python/cpython/issues/91719 |
| og:image:alt | We've received reports of MSVC not generating optimal code, e.g. gh-89279. One possible improvement would be to get the big switch statement in ceval.c to generate better code. It's been rumored th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gvanrossum |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width