Identifying the start of good data in a list

George Sakkis george.sakkis at gmail.com
Thu Aug 28 01:11:19 CEST 2008


On Aug 27, 5:34 pm, bearophileH... at lycos.com 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



More information about the Python-list mailing list