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>
C
Christian Heimes committed
915cd3f0696cb8a7206754a8fc34d4cd865a1b4a
Parent: 09090d0
Committed by Steve Dower <steve.dower@python.org>
on 9/9/2019, 4:06:55 PM