summaryrefslogtreecommitdiffstats
path: root/Doc/library/formatter.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-08-14 01:16:34 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-08-14 01:16:34 (GMT)
commitb1b915c796a9054cce867ef47071bcf9f79b985f (patch)
treef0632ce96b998ca0f68626f2d494040d8920d93a /Doc/library/formatter.rst
parent0a01ac4300ff3831d63fc065eb9bac7767bfd8dc (diff)
downloadcpython-b1b915c796a9054cce867ef47071bcf9f79b985f.zip
cpython-b1b915c796a9054cce867ef47071bcf9f79b985f.tar.gz
cpython-b1b915c796a9054cce867ef47071bcf9f79b985f.tar.bz2
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 'Doc/library/formatter.rst')
0 files changed, 0 insertions, 0 deletions