summaryrefslogtreecommitdiff
path: root/Lib/idlelib
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
commitb1b915c796a9054cce867ef47071bcf9f79b985f (patch)
treef0632ce96b998ca0f68626f2d494040d8920d93a /Lib/idlelib
parent0a01ac4300ff3831d63fc065eb9bac7767bfd8dc (diff)
downloadcpython-git-b1b915c796a9054cce867ef47071bcf9f79b985f.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 'Lib/idlelib')
0 files changed, 0 insertions, 0 deletions