Python speed vs csharp

Steve Hutton shutton_REMOVE_ at attbi.com
Tue Aug 5 23:58:32 EDT 2003


In article <0MoXa.21930$cl3.850221 at news2.tin.it>, Alex Martelli wrote:
> Siegfried Gonzi wrote:
>    ...
> 
>> g++ -O3 erf.c : 0.5 seconds
>> bigloo -Obench erf.scm: 1.1 seconds
> 
> [alex at lancelot swig_wrappers]$ gcc -O -o gonzi gonzi.c -lm
> [alex at lancelot swig_wrappers]$ time ./gonzi

To be fair, using -O3 here instead of -O buys around a 15%
performance gain for me, presumably due to inlining.

Steve





More information about the Python-list mailing list