> Out of curiosity I tried benchmarking few of these solutions alongwith the
> one I wrote using itertools.groupby.
> My benchmarking did include large data sets and worst case.
> Results are the shortest solution (by Anand) was way faster than others.
> After that it was Steve's and mine and Navin was almost the same of the last
> spot.
>
> Which one is most readable? Well I leave that for now.

How did mine perform?

Regards,
BG

-- 
Baishampayan Ghose
b.ghose at gmail.com
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to