[Python-3000] Droping find/rfind? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 25 02:24:06 CEST 2006
- Previous message: [Python-3000] Droping find/rfind?
- Next message: [Python-3000] Droping find/rfind?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] Droping find/rfind?
- Next message: [Python-3000] Droping find/rfind?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]