Tim Peters wrote: > 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)
Until a few moments ago, I didn't know that str.startswith() had any optional arguments, so I missed the significance of that. In any case, I still find it surprising that this would make enough difference to outweigh a Python-level indexing and comparison... -- 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
