[BangPypers] which is better solution of the question

Pradeep Gowda pradeep at btbytes.com
Tue Jun 16 19:57:20 CEST 2009

On Tue, Jun 16, 2009 at 1:42 PM, Senthil Kumaran<orsenthil at gmail.com> wrote:
> On Tue, Jun 16, 2009 at 12:55:28PM -0400, Pradeep Gowda wrote:
>> >> I wrote a script to test this hypothesis : http://dpaste.com/55994/
>> >> The zip() version is 100 times faster on average than the other solution.
>> >
>> > Pradeep:
>> > Here is a surprise:
>> > http://dpaste.com/hold/56023/
>> I know about the timeit module. Was too lazy to look up the docs.
> The surprise was in the results obtained.

Oops, did not notice that :)

Doesn't that contradict the time complexity explanation given by Anand?

Mind running your tests with a larger dataset like the one I used and
sharing the results?


More information about the BangPypers mailing list