Title: Heavily nested structures are very slow to proceed · Issue #3796 · python/mypy · GitHub
Open Graph Title: Heavily nested structures are very slow to proceed · Issue #3796 · python/mypy
X Title: Heavily nested structures are very slow to proceed · Issue #3796 · python/mypy
Description: Hi, the dictionary below takes more than 30s to be processed. If the codebase contains more of such structures, it takes painfully long time to check it. For now we use #3789 as a workaround to skip such slow parts. Cheers, yed_ testing ...
Open Graph Description: Hi, the dictionary below takes more than 30s to be processed. If the codebase contains more of such structures, it takes painfully long time to check it. For now we use #3789 as a workaround to ski...
X Description: Hi, the dictionary below takes more than 30s to be processed. If the codebase contains more of such structures, it takes painfully long time to check it. For now we use #3789 as a workaround to ski...
Opengraph URL: https://github.com/python/mypy/issues/3796
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Heavily nested structures are very slow to proceed","articleBody":"Hi,\r\nthe dictionary below takes more than 30s to be processed. If the codebase contains more of such structures, it takes painfully long time to check it. \r\n\r\nFor now we use #3789 as a workaround to skip such slow parts.\r\n\r\nCheers,\r\nyed_\r\n\r\ntesting env:\r\nMB Pro 2013\r\nPython 3.6\r\nMypy 0.521\r\n \r\ntesting file:\r\n```\r\ninput = {\r\n 'body': {\r\n 'token': {\r\n 'type': 'string',\r\n 'required': False\r\n },\r\n 'payloads': {\r\n 'type': 'list',\r\n 'required': True,\r\n 'schema': {\r\n 'type': 'dict',\r\n 'schema': {\r\n 'message': {\r\n 'type': 'string',\r\n 'required': True\r\n },\r\n 'notification': {\r\n 'type': 'dict',\r\n 'required': True,\r\n 'schema': {\r\n 'body': {\r\n 'type': 'dict',\r\n 'schema': {\r\n 'type': {\r\n 'type': 'string',\r\n 'required': True\r\n },\r\n 'data': {\r\n 'type': 'dict',\r\n 'required': True,\r\n 'schema': {\r\n 'bid': {\r\n 'type': 'string',\r\n 'required': False\r\n },\r\n 'url': {\r\n 'type': 'string',\r\n 'required': False\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n```\r\n","author":{"url":"https://github.com/yedpodtrzitko","@type":"Person","name":"yedpodtrzitko"},"datePublished":"2017-08-03T22:35:22Z","url":"https://github.com/python/mypy/issues/3796"}
| 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:7045aabf-dd1b-2351-b868-b2836a7b06ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B27A:15E5F9:2324EB3:2FDE68E:6B002FDA |
| html-safe-nonce | 4fa1f780dc32130b94fa67d1bc450c8b0f4273fdd312db2abb71684c838a0df9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjdBOjE1RTVGOToyMzI0RUIzOjJGREU2OEU6NkIwMDJGREEiLCJ2aXNpdG9yX2lkIjoiMjQwODE0Nzc3NDc4OTkyMjc3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5013bbd15cc20fedcda2ebac766817f329709d513bc307d4e175d26a64ca7f6a |
| hovercard-subject-tag | issue:247854775 |
| 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/mypy/3796/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f3b16d5b20f908626a0f01ee6f290d1c9814936b3e305993f0f79eb628180f5b/python/mypy/issues/3796 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3b16d5b20f908626a0f01ee6f290d1c9814936b3e305993f0f79eb628180f5b/python/mypy/issues/3796 |
| og:image:alt | Hi, the dictionary below takes more than 30s to be processed. If the codebase contains more of such structures, it takes painfully long time to check it. For now we use #3789 as a workaround to ski... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yedpodtrzitko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width