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).
R
Raymond Hettinger committed
b1b915c796a9054cce867ef47071bcf9f79b985f
Parent: 0a01ac4