Title: Always write the `-i` cache · Issue #3045 · python/mypy · GitHub
Open Graph Title: Always write the `-i` cache · Issue #3045 · python/mypy
X Title: Always write the `-i` cache · Issue #3045 · python/mypy
Description: I've noticed that many people initially run plain mypy and then start using mypy -i but find that the first such run is not any faster than a plain run. This is understandable because it needs to warm the cache first. We could alleviate ...
Open Graph Description: I've noticed that many people initially run plain mypy and then start using mypy -i but find that the first such run is not any faster than a plain run. This is understandable because it needs to w...
X Description: I've noticed that many people initially run plain mypy and then start using mypy -i but find that the first such run is not any faster than a plain run. This is understandable because it needs ...
Opengraph URL: https://github.com/python/mypy/issues/3045
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Always write the `-i` cache","articleBody":"I've noticed that many people initially run plain `mypy` and then start using `mypy -i` but find that the first such run is not any faster than a plain run. This is understandable because it needs to warm the cache first.\r\n\r\nWe could alleviate this issue by just always writing the cache (perhaps allowing this feature to be turned off for special scenarios but having it on by default). This might cost a little bit of extra run time -- IIRC I once measured the cost of writing the cache and it was in the 5-10% range.","author":{"url":"https://github.com/gvanrossum","@type":"Person","name":"gvanrossum"},"datePublished":"2017-03-22T20:32:56Z","url":"https://github.com/python/mypy/issues/3045"}
| 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:d01c8672-751f-bece-b5d8-f7d1fd67e2b6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC76:20C2C9:357119:48F158:6B006C1E |
| html-safe-nonce | 2f6730a155a399aa529bc5f3d29f1b62650351b183597bb087736440b54a7a25 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzc2OjIwQzJDOTozNTcxMTk6NDhGMTU4OjZCMDA2QzFFIiwidmlzaXRvcl9pZCI6IjMyNjQ4OTI1MjY1NTI3MDYwNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 713caf360b186b19a170ae091619cf774358b7bf58a3c2f13c4a9c1cc64854bd |
| hovercard-subject-tag | issue:216198671 |
| 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/3045/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71fe6459a351378f4ef2dec41ccaa566243ccefab5e1e822382ad21a227c047b/python/mypy/issues/3045 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71fe6459a351378f4ef2dec41ccaa566243ccefab5e1e822382ad21a227c047b/python/mypy/issues/3045 |
| og:image:alt | I've noticed that many people initially run plain mypy and then start using mypy -i but find that the first such run is not any faster than a plain run. This is understandable because it needs to w... |
| 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 | 6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa |
| 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 | 46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width