Python is darn fast (was: How fast is Python)

Michele Simionato mis6 at pitt.edu
Sun Aug 24 10:42:04 CEST 2003


Van Gale <news at exultants.org> wrote in message news:<XKW1b.4512$TE6.1447 at newssvr27.news.prodigy.com>...
> Michele Simionato wrote:
> > I posted this few weeks ago (remember the C Sharp thread?) but it went
> > unnoticed on the large mass of posts, so let me retry. Here I get Python+
> > Psyco twice as fast as optimized C, so I would like to now if something
> > is wrong on my old laptop and if anybody can reproduce my results.
> > Here are I my numbers for calling the error function a million times
> > (Python 2.3, Psyco 1.0, Red Hat Linux 7.3, Pentium II 366 MHz):
> > 
> > $ gcc erf.c -lm -o3
> 
> Did you really use "-o3" instead of "-O3"?  The lowercase -o3 will 
> produce object code file named "3" instead of doing optimization.

Yes, I used -O3, this was a misprint in the e-email. The compiler was
gcc 2.96.

Michele Simionato, Ph. D.
MicheleSimionato at libero.it
http://www.phyast.pitt.edu/~micheles
--- Currently looking for a job ---




More information about the Python-list mailing list