Title: bpo-35941: Fix performance regression in new code by tiran · Pull Request #12610 · python/cpython · GitHub
Open Graph Title: bpo-35941: Fix performance regression in new code by tiran · Pull Request #12610 · python/cpython
X Title: bpo-35941: Fix performance regression in new code by tiran · Pull Request #12610 · python/cpython
Description: Accumulate certificates in a set instead of doing a costly list contain operation. A Windows cert store can easily contain over hundred certificates. The old code would result in way over 5,000 comparison operations. Signed-off-by: Christian Heimes christian@python.org Untested, uncompiled C code. Let's see what the Windows build bot has to say. https://bugs.python.org/issue35941
Open Graph Description: Accumulate certificates in a set instead of doing a costly list contain operation. A Windows cert store can easily contain over hundred certificates. The old code would result in way over 5,000 com...
X Description: Accumulate certificates in a set instead of doing a costly list contain operation. A Windows cert store can easily contain over hundred certificates. The old code would result in way over 5,000 com...
Opengraph URL: https://github.com/python/cpython/pull/12610
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6cf81f8f-95bf-ee79-2bdb-7aa5b33d9dd2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA24:12936D:DE13E1:1449018:6A56108B |
| html-safe-nonce | 47004aadc5690db36cb6cb102b3f173b0fbb25ca50341b087f18318ccd5ab05e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTI0OjEyOTM2RDpERTEzRTE6MTQ0OTAxODo2QTU2MTA4QiIsInZpc2l0b3JfaWQiOiI4MDI2NDQyNzM1NzQ5MDQyMzE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b17f7179f352be7269b7b2eb63d3c0b0e2f2ca434fd1b02bbf486513ef2857d1 |
| hovercard-subject-tag | pull_request:265457819 |
| 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/12610/files |
| twitter:image | https://avatars.githubusercontent.com/u/444071?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/444071?s=400&v=4 |
| og:image:alt | Accumulate certificates in a set instead of doing a costly list contain operation. A Windows cert store can easily contain over hundred certificates. The old code would result in way over 5,000 com... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 85a7179838b41e8b23f939d3b67b53f752ecfc54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width