Title: bpo-45256: Don't call at the C level when calling bound-methods from Python code. by markshannon · Pull Request #29238 · python/cpython · GitHub
Open Graph Title: bpo-45256: Don't call at the C level when calling bound-methods from Python code. by markshannon · Pull Request #29238 · python/cpython
X Title: bpo-45256: Don't call at the C level when calling bound-methods from Python code. by markshannon · Pull Request #29238 · python/cpython
Description: Unpacks bound methods on to the stack before doing check to see if call can be inlined. This PR is not about performance, but making the behavior of x.m() and t = x.m; t() the same in terms of stack consumption. Performance is fine though. https://bugs.python.org/issue45256
Open Graph Description: Unpacks bound methods on to the stack before doing check to see if call can be inlined. This PR is not about performance, but making the behavior of x.m() and t = x.m; t() the same in terms of sta...
X Description: Unpacks bound methods on to the stack before doing check to see if call can be inlined. This PR is not about performance, but making the behavior of x.m() and t = x.m; t() the same in terms of sta...
Opengraph URL: https://github.com/python/cpython/pull/29238
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:9c2108ef-028b-1094-9e45-4e7c3f44b9f2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C06E:1B38B1:9FEA98:D0DEC8:696AF3A7 |
| html-safe-nonce | 3b434b14aa475f03477f415cb9fc9f224f504d11f94cc2b27e3276a19a3862f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDZFOjFCMzhCMTo5RkVBOTg6RDBERUM4OjY5NkFGM0E3IiwidmlzaXRvcl9pZCI6IjcwNjI3ODg3OTE5MTAyMDAyMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cd1fdc79ffb3cbfe5cbb6e519d84ae26573b87090efd789664672dfa467990e2 |
| hovercard-subject-tag | pull_request:767417899 |
| 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/29238/checks |
| twitter:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9448417?s=400&v=4 |
| og:image:alt | Unpacks bound methods on to the stack before doing check to see if call can be inlined. This PR is not about performance, but making the behavior of x.m() and t = x.m; t() the same in terms of sta... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width