Title: bpo-30156: Remove property_descr_get() hack by vstinner · Pull Request #3985 · python/cpython · GitHub
Open Graph Title: bpo-30156: Remove property_descr_get() hack by vstinner · Pull Request #3985 · python/cpython
X Title: bpo-30156: Remove property_descr_get() hack by vstinner · Pull Request #3985 · python/cpython
Description: Remove the cached tuple which caused crashed, use _PyObject_FastCall() instead. Microbenchmark using: ./python -m perf timeit -s 'import collections;P=collections.namedtuple("P","x y");p=P(1, 2)' 'p.x' [ref] 80.4 ns +- 3.3 ns -> [fastcall] 103 ns +- 5 ns: 1.28x slower (+28%) https://bugs.python.org/issue30156
Open Graph Description: Remove the cached tuple which caused crashed, use _PyObject_FastCall() instead. Microbenchmark using: ./python -m perf timeit -s 'import collections;P=collections.namedtuple("P",&...
X Description: Remove the cached tuple which caused crashed, use _PyObject_FastCall() instead. Microbenchmark using: ./python -m perf timeit -s 'import collections;P=collections.namedtuple("P...
Opengraph URL: https://github.com/python/cpython/pull/3985
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:638efdb0-95bb-d6e4-217e-4a45a0a2f9bb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D292:1C4F37:24B9F69:33233F9:6A50C237 |
| html-safe-nonce | b8de5e2c06e6264ebd22fd3192f2dab620389d8a8c057d847cf9cf2d257e2c35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjkyOjFDNEYzNzoyNEI5RjY5OjMzMjMzRjk6NkE1MEMyMzciLCJ2aXNpdG9yX2lkIjoiNDQ5OTkzNjYyODEzMTQ4NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 74229d0c62402c5e2e29ede644b7912f52b71b8c0e68fe9f93f74fe470d6fd91 |
| hovercard-subject-tag | pull_request:146481357 |
| 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/3985/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Remove the cached tuple which caused crashed, use _PyObject_FastCall() instead. Microbenchmark using: ./python -m perf timeit -s 'import collections;P=collections.namedtuple("P",&... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width