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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bf5d5dc3-3178-6580-c856-e3660fd3131b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C7E2:5FC26:9B2A27:E0EF4A:6A54B008 |
| html-safe-nonce | 88710f88479dfd2c6537e26dfd44f5e72a0359c2050c937f97e77a5e20e54185 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0UyOjVGQzI2OjlCMkEyNzpFMEVGNEE6NkE1NEIwMDgiLCJ2aXNpdG9yX2lkIjoiNTQ4MTQ5MTA2MzE0NjU5MDIxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 90dff393b46496e6b4087f22bd9bcd3d8b43ccc662cf768587ebbf2288e18bb6 |
| hovercard-subject-tag | pull_request:219077444 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width