Title: isinstance is 4x as slow as in 2.5 because the common case raises · Issue #46556 · python/cpython · GitHub
Open Graph Title: isinstance is 4x as slow as in 2.5 because the common case raises · Issue #46556 · python/cpython
X Title: isinstance is 4x as slow as in 2.5 because the common case raises · Issue #46556 · python/cpython
Description: BPO 2303 Nosy @gvanrossum, @theller, @rhettinger, @gpshead Files isinst.diff: Patch to short circuit an exact match Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Sh...
Open Graph Description: BPO 2303 Nosy @gvanrossum, @theller, @rhettinger, @gpshead Files isinst.diff: Patch to short circuit an exact match Note: these values reflect the state of the issue at the time it was migrated and...
X Description: BPO 2303 Nosy @gvanrossum, @theller, @rhettinger, @gpshead Files isinst.diff: Patch to short circuit an exact match Note: these values reflect the state of the issue at the time it was migrated and...
Opengraph URL: https://github.com/python/cpython/issues/46556
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"isinstance is 4x as slow as in 2.5 because the common case raises","articleBody":"BPO | [2303](https://bugs.python.org/issue2303)\n--- | :---\nNosy | @gvanrossum, @theller, @rhettinger, @gpshead\nFiles | \u003cli\u003e[isinst.diff](https://bugs.python.org/file9742/isinst.diff \"Uploaded as text/plain at 2008-03-18.22:25:15 by @rhettinger\"): Patch to short circuit an exact match\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/gvanrossum'\nclosed_at = \u003cDate 2008-07-13.18:38:06.819\u003e\ncreated_at = \u003cDate 2008-03-16.15:45:41.157\u003e\nlabels = ['interpreter-core', 'performance']\ntitle = 'isinstance is 4x as slow as in 2.5 because the common case raises'\nupdated_at = \u003cDate 2008-07-13.18:38:06.813\u003e\nuser = 'https://bugs.python.org/jyasskin'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2008-07-13.18:38:06.813\u003e\nactor = 'gregory.p.smith'\nassignee = 'gvanrossum'\nclosed = True\nclosed_date = \u003cDate 2008-07-13.18:38:06.819\u003e\ncloser = 'gregory.p.smith'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2008-03-16.15:45:41.157\u003e\ncreator = 'jyasskin'\ndependencies = []\nfiles = ['9742']\nhgrepos = []\nissue_num = 2303\nkeywords = ['patch']\nmessage_count = 11.0\nmessages = ['63580', '63878', '63935', '63952', '63958', '63986', '63991', '64002', '64844', '69487', '69616']\nnosy_count = 5.0\nnosy_names = ['gvanrossum', 'theller', 'rhettinger', 'gregory.p.smith', 'jyasskin']\npr_nums = []\npriority = 'critical'\nresolution = 'accepted'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue2303'\nversions = ['Python 2.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/jyasskin","@type":"Person","name":"jyasskin"},"datePublished":"2008-03-16T15:45:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/46556/cpython/issues/46556"}
| 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:184409cf-57e2-e6d1-bb77-73dcb5fa81da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C39E:1BA1E:2AE053:3977A7:6A522965 |
| html-safe-nonce | 627625d978f9fa35d73b7a9aead077c0c1b493bd9834baefac4c630967144719 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzlFOjFCQTFFOjJBRTA1MzozOTc3QTc6NkE1MjI5NjUiLCJ2aXNpdG9yX2lkIjoiMzU2NjY5NDczNzM1NTM1MjQyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 79ce0fececa486e60f832ed7de610c36fbb95437f86c7fe09ef3751ee2da70dd |
| hovercard-subject-tag | issue:1198829440 |
| 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/46556/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3c8538986e69612c2d740a35411a5dad5d4decc8da3b65c8394a51af73b9a29/python/cpython/issues/46556 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3c8538986e69612c2d740a35411a5dad5d4decc8da3b65c8394a51af73b9a29/python/cpython/issues/46556 |
| og:image:alt | BPO 2303 Nosy @gvanrossum, @theller, @rhettinger, @gpshead Files isinst.diff: Patch to short circuit an exact match Note: these values reflect the state of the issue at the time it was migrated and... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jyasskin |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width