On Aug 27, 5:34 pm, [EMAIL PROTECTED] wrote: > George Sakkis: > > > This seems the most efficient so far for arbitrary iterables. > > This one probably scores well with Psyco ;-)
I think if you update this so that it returns the "good" iterable instead of the starting index, it is equivalent to Gerard's solution. George -- http://mail.python.org/mailman/listinfo/python-list