make faster Richards benchmark
Peter Hansen
peter at engcorp.com
Thu May 13 07:16:11 EDT 2004
Josef Meile wrote:
> Duncan Lissett wrote:
>
>> I'd appreciate any suggestions on how to make faster Python
>> implementations of Richards benchmark. Perhaps there are obvious
>> problems that can be corrected?
>>
>> http://www.lissett.com/ben/bench1.htm
>
> What's about including a second python implementation of the Richards
> benchmark using psyco? You don't have to modify your code, you only have
> to add two lines. It would be also interesting to see the differences
> between both source codes.
I get an immediate 38% speedup by doing "import psyco; psyco.full()"
at the start of the benchmark.
-Peter
More information about the Python-list
mailing list