On Friday 23 July 2010 09:11 AM, Baishampayan Ghose wrote:
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?
Hey BG,

For worst case and dataset in problem your script beats all.
For simple but large data it's Anand's solution just slightly ahead.

Wow.

Shekhar
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to