summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-08-13 18:16:34 -0700
committerRaymond Hettinger <python@rcn.com>2013-08-13 18:16:34 -0700
commit5f141c8bef3c1e3cf6498bce440bf1a048c364b9 (patch)
tree4f0cfeee33c1c1641619be4f6f4777f3eb7ba733 /Modules
parent025cf1a1375447b36b2ee8dbafceb9e80ab52830 (diff)
downloadcpython-5f141c8bef3c1e3cf6498bce440bf1a048c364b9.tar.gz
Issue 18719: Remove a false optimization
Remove an unused early-out test from the critical path for dict and set lookups. When the strings already have matching lengths, kinds, and hashes, there is no additional information gained by checking the first characters (the probability of a mismatch is already known to be less than 1 in 2**64).
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions