bpo-35941: Fix performance regression in new code by tiran · Pull Request #12610 · python/cpython
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>
zooba pushed a commit to zooba/cpython that referenced this pull request
Sep 9, 2019…GH-12610) 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>
zooba pushed a commit to zooba/cpython that referenced this pull request
Sep 9, 2019…GH-12610) 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>
zooba added a commit that referenced this pull request
Sep 10, 2019zooba added a commit that referenced this pull request
Sep 10, 2019websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request
Jul 20, 2020This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters