[Python-3000] Droping find/rfind?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 25 02:24:06 CEST 2006


Fredrik Lundh wrote:

> (on the other hand, "s[:len(t)] == t" is usually faster than "s.startswith(t)" for short
> prefixes,

That's surprising. Any idea why this might be?

--
Greg


More information about the Python-3000 mailing list