On Tue, Jun 16, 2009 at 1:42 PM, Senthil Kumaran<orsent...@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?

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

Reply via email to