On Tue, Jun 16, 2009 at 12:40 PM, Senthil Kumaran<orsent...@gmail.com> wrote:
>
> On Tue, Jun 16, 2009 at 11:58:32AM -0400, Pradeep Gowda wrote:
>
>> > On Tue, Jun 16, 2009 at 9:52 AM, Abhishek
>> > Tiwari<tiwariabhishe...@gmail.com> wrote:
>> >> I would like to know which method is better and why?
>
>
> Abhishek, whichever you understand best is better.
>
>
>> 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.
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to