diff options
author | Christian Heimes <christian@python.org> | 2019-09-09 18:06:55 +0200 |
---|---|---|
committer | Steve Dower <steve.dower@python.org> | 2019-09-09 09:06:55 -0700 |
commit | 915cd3f0696cb8a7206754a8fc34d4cd865a1b4a (patch) | |
tree | d5dd29a1c76f1ac11ac6a20dc47ccb7faf680200 /Lib/test/test_bytes.py | |
parent | 09090d04ef8d2f4c94157b852d3d530a51e13d22 (diff) | |
download | cpython-git-915cd3f0696cb8a7206754a8fc34d4cd865a1b4a.tar.gz |
bpo-35941: Fix performance regression in new 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 'Lib/test/test_bytes.py')
0 files changed, 0 insertions, 0 deletions