Title: Micro-optimize list index range checks by rhettinger · Pull Request #9784 · python/cpython · GitHub
Open Graph Title: Micro-optimize list index range checks by rhettinger · Pull Request #9784 · python/cpython
X Title: Micro-optimize list index range checks by rhettinger · Pull Request #9784 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Old code _list_item: testq %rsi, %rsi js L282 cmpq %rsi, 16(%rdi) jg L283 ... L283: movq 24(%rdi), %rax movq (%rax,%rsi,8), %rax addq $1, (%rax) ...
X Description: Old code _list_item: testq %rsi, %rsi js L282 cmpq %rsi, 16(%rdi) jg L283 ... L283: movq 24(%rdi), %rax movq (%rax,%rsi,8), %rax addq $1, (%rax) ...
Opengraph URL: https://github.com/python/cpython/pull/9784
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:ce194cdd-13b0-1fef-7e8d-12fd984ae208 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CB76:10503:BAAC40:F09090:696AFC71 |
| html-safe-nonce | ccf668fc4164b392eadda4ff59a6b088458d0c75105acf5262ef165d72b25a3b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjc2OjEwNTAzOkJBQUM0MDpGMDkwOTA6Njk2QUZDNzEiLCJ2aXNpdG9yX2lkIjoiMjE5NzY2Mjk5MzkzMzMzNTY2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e54af98fb4f3a06df2ed921795ad025259aa4e2cbe800e475a58fd4e565c3ee |
| hovercard-subject-tag | pull_request:221652087 |
| 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/9784/commits |
| twitter:image | https://opengraph.githubassets.com/18d90adc19eb291e7baed6b8c97032c51f3d8ec8ebdbfcb9c599c994f8754b55/python/cpython/pull/9784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18d90adc19eb291e7baed6b8c97032c51f3d8ec8ebdbfcb9c599c994f8754b55/python/cpython/pull/9784 |
| og:image:alt | Old code _list_item: testq %rsi, %rsi js L282 cmpq %rsi, 16(%rdi) jg L283 ... L283: movq 24(%rdi), %rax movq (%rax,%rsi,8), %rax addq $1, (%rax) ... |
| 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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width