• Raymond Hettinger's avatar
    Issue 18719: Remove a false optimization · b1b915c7
    Raymond Hettinger yazdı
    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).
    b1b915c7
Adı
Son kayıt (commit)
Son güncelleme
..
README.txt Loading commit data...
asciilib.h Loading commit data...
codecs.h Loading commit data...
count.h Loading commit data...
ctype.h Loading commit data...
eq.h Loading commit data...
fastsearch.h Loading commit data...
find.h Loading commit data...
find_max_char.h Loading commit data...
localeutil.h Loading commit data...
partition.h Loading commit data...
split.h Loading commit data...
stringdefs.h Loading commit data...
transmogrify.h Loading commit data...
ucs1lib.h Loading commit data...
ucs2lib.h Loading commit data...
ucs4lib.h Loading commit data...
undef.h Loading commit data...
unicode_format.h Loading commit data...
unicodedefs.h Loading commit data...