[Python-3000] C API for ints and strings

Gregory P. Smith greg at krypto.org
Wed Sep 12 07:55:09 CEST 2007


> The Pentium M and Pentium D are much more alike, architecturally, than
> either and the Pentium 4,


[cpu rant]
Off topic: not true.  The Pentium D is the final Pentium 4 netburst
architecture based design.  It is not at all close to the Pentium M.   The M
is much more a derivative of the pentium pro,ii,iii, & iii-m before it as
core and more distantly core2 are follow ons to the M.  Yes the D (50xx) and
Woodcrest core2s (51xx) shared the same socket and front side bus but
internally they are unrelated.
[/cpu rant]

Regardless comparing between different cpus doesn't matter, only the
difference between runs on the same cpu.

for instance on a 1.4Ghz efficeon:

python2.5:
10 loops, best of 3: 932 msec per loop
python 3.0a1 svn trunk:
10 loops, best of 3: 1.54 sec per loop

(both compiled with gcc 4.1.2 -O3)

which falls right smack in the middle of the measurements others were
reporting in this thread. ;)

Without looking into it at a much lower level,
> it's hard to tell, but the difference between a 1MB and 2MB L2 cache
> might make all the difference in 3.0 performance.


doubtful, python's ceval core and the data representing the code being
executed are both tiny.

-gps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-3000/attachments/20070911/e2ff73f8/attachment.htm 


More information about the Python-3000 mailing list