Algorithm help per favore

Anton Vredegoor anton at vredegoor.doge.nl
Thu Jun 19 15:01:33 EDT 2003


David Eppstein <eppstein at ics.uci.edu> wrote:

>In article <bcshoh$kb8$1 at news.hccnet.nl>,
> anton at vredegoor.doge.nl (Anton Vredegoor) wrote:
>
>> Output from a test run:
>> 
>> zipped  : 0.985 sec.
>> ranged  : 0.425 sec.
>> inplace : 0.206 sec.
>
>Interesting.  When I try it, what I find is that zipped is usually but 
>not always fastest, inplace is a little slower, and ranged is 
>significantly slower -- data at end of message.

Thanks for sharing this info, the data is very counterintuitive.
Probably programmer error :-)

Anton




More information about the Python-list mailing list