gmpy 1.01 rc near... anybody wanna test>

casevh at comcast.net casevh at comcast.net
Wed Nov 9 23:24:05 EST 2005


> > Will you be updating the information in setup.py file?
>
> Done, in the current CVS version.

I will grab the CVS version and create installers.

> > Which versions of Python do you want to support?
>
> I have tested gmpy with 2.3 and 2.4 on Mac, and those two and also 2.2
> on Linux.  I think supporting 2.2 with a Windows download is probably
> unneeded, but 2.4 is a must and I suspect 2.3 would be nice...

I will definately build for 2.3 and 2.4.

>
> > Do you want versions that include GMP tailored for specific processors?
>
> My gut reaction here is that people with special processors, Windows,
> and demanding performance needs should probably get their own
> development environments and build GMP and gmpy accordingly.
>
> Any opinions from the public on this one...?

Unless there is a demand for compatibilty with older processors
(Pentium, Pentium Pro, Pentium II), I will build for Pentium 3.

>
> > With GMP 4.1.4 compiled for pentium3, and running on a 1.8Ghz Pentium
> > M, I'm able to calculate the decimal form of 2^25964951 (the 43rd
> > Mersenne prime) in 10 seconds. The prior gmpy release takes just over
> > 14 seconds. Without gmpy, Python takes 25.4 seconds. On an Athlon
> > MP2800+ (2.133Ghz) with GMP compiled for that processor, I can do it in
> > 6.6 seconds using gmpy and 22.4 seconds without gmpy. I'm working with
> > blocks of 1000 digits and using a combination of Toom-Cook and
> > Nussbaumer convolution to perform the multiplies and squares.
>
> Sounds quite decent -- about a 2.5 to 3+ times speedup wrt Python, and
> some speedup wrt gmpy 1.0 (all GMP's merit -- I didn't address
> performance aspects at all in this delta).  Just out of curiosity: what
> performance do you get on the Athlon with a pentium3-compiled GMP?
>
I'll try to find out. Unfortunately, my Athlon box won't run Windows.
;-)

> Thanks,
> 
> Alex

You're welcome,

Case




More information about the Python-list mailing list