[3.7] bpo-35941: Fix performance regression in SSL certificate code (GH-12610) by zooba · Pull Request #15804 · python/cpython

@tiran @zooba

…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 zooba deleted the bpo-35941-3.7 branch

September 10, 2019 08:46