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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b10bd3e6-99b5-6e7d-cb93-98799012f8d1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9818:A39F5:2243A4C:2E85FDA:696ACEA9 |
| html-safe-nonce | 9ac27f7a21a021cce193875062eb627503cf55e4d94950e0fb7a9a5c17264abe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODE4OkEzOUY1OjIyNDNBNEM6MkU4NUZEQTo2OTZBQ0VBOSIsInZpc2l0b3JfaWQiOiIyMzI3NzQ5MTM5NDg4MjMxMDgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9575790670ce54f08b3034eef5dc43f715c25c68e5fbe1bef6125376b64ae7f3 |
| hovercard-subject-tag | pull_request:767417899 |
| 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/29238/files |
| 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 | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width