[BangPypers] Map vs List comprehensions (was Re: parsing xml)

Anand Balachandran Pillai abpillai at gmail.com
Mon Aug 1 17:54:18 CEST 2011


> >>>> mytimeit.Timeit(f1)
>> > '37.91 usec/pass'
>> >>>> mytimeit.Timeit(f2)
>> > '37.50 usec/pass'
>>
>>
Btw (shameless plug) - To clarify, the mytimeit module I am referring to in
these posts is my
own wrapper over timeit.

http://code.activestate.com/recipes/389767-timeit-module-wrapper/



-- 
--Anand


More information about the BangPypers mailing list