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 _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
