diff options
author | Steve Dower <steve.dower@python.org> | 2019-09-10 09:02:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-10 09:02:04 (GMT) |
commit | fdd17abc51e363ab19d248375d717512b8b26966 (patch) | |
tree | cd7494ab4145909f6889c4ed2d0192c408ff3256 /Python/getcompiler.c | |
parent | 74b7413d3a9be5e06b16eb2b9a6bdc1f3fe44bbb (diff) | |
download | cpython-fdd17abc51e363ab19d248375d717512b8b26966.zip cpython-fdd17abc51e363ab19d248375d717512b8b26966.tar.gz cpython-fdd17abc51e363ab19d248375d717512b8b26966.tar.bz2 |
bpo-35941: Fix performance regression in SSL certificate code (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>
Diffstat (limited to 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions