Title: Speed-up math.dist() by 30% by rhettinger · Pull Request #9628 · python/cpython · GitHub
Open Graph Title: Speed-up math.dist() by 30% by rhettinger · Pull Request #9628 · python/cpython
X Title: Speed-up math.dist() by 30% by rhettinger · Pull Request #9628 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Manual type checking is much faster than the argument clinic equivalent. --------- baseline ------------ $ pytime -r11 -s 'from math import dist' -s 'p=(1.1, 2.2)' -s 'q=(1.5, 2...
X Description: Manual type checking is much faster than the argument clinic equivalent. --------- baseline ------------ $ pytime -r11 -s 'from math import dist' -s 'p=(1.1, 2.2)' -...
Opengraph URL: https://github.com/python/cpython/pull/9628
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:0627c53b-1ea3-5129-1315-47ab9762d6a7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CA1A:3D183C:5EDDF2:7FA19C:6A5558D2 |
| html-safe-nonce | 2cfe9962f457d7fe2787fd047509c061204cac51f701760e3bf1198fecf50170 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTFBOjNEMTgzQzo1RURERjI6N0ZBMTlDOjZBNTU1OEQyIiwidmlzaXRvcl9pZCI6IjM3NDgwMzY4OTM3NzE5MTM0MjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 476eca1ca9892f5d8b5b57f2978ab570d2ad5e65f595eccbe0fbca87aeec876b |
| hovercard-subject-tag | pull_request:219077444 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/9628/commits |
| twitter:image | https://opengraph.githubassets.com/e918f5e12bd4dc08e60cbc8ffdc2a73540cb5e8eac71f1e5fb95e10e45959c8b/python/cpython/pull/9628 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e918f5e12bd4dc08e60cbc8ffdc2a73540cb5e8eac71f1e5fb95e10e45959c8b/python/cpython/pull/9628 |
| og:image:alt | Manual type checking is much faster than the argument clinic equivalent. --------- baseline ------------ $ pytime -r11 -s 'from math import dist' -s 'p=(1.1, 2.2)' -s 'q=(1.5, 2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rhettinger |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-cache |
| 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 | 73595e82546ca2415571a2031890ab16ecb3001a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width