[Python-3000] Droping find/rfind? (original) (raw)
Tim Peters tim.peters at gmail.com
Fri Aug 25 03:01:20 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]
(on the other hand, "s[:len(t)] == t" is usually faster than "s.startswith(t)" for short prefixes,
[Greg Ewing]
That's surprising. Any idea why this might be?
Perhaps it has to do with the rest of his message ;-):
(which reminds me that speeding up handling of optional arguments to C functions would be an even better use of this energy)
- Previous message: [Python-3000] Droping find/rfind?
- Next message: [Python-3000] Droping find/rfind?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]