I'm currently testing several of the major GMP patches with gmp-4.2.2.
 Should have some results by this weekend.

On 9/12/07, mabshoff <[EMAIL PROTECTED]> wrote:
>
>
>
> On Sep 12, 10:37 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> > On 9/12/07, mabshoff <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > Kate Minola wrote:
> > > > FYI - the following have recently
> > > > been released:
> >
> > > >   gmp-4.2.2
> > > >   mpfr-2.3.0
> > > >   ecm-6.1.3
> >
> > > > Kate
> >
> > > Hello Kate,
> >
> > > #541, #542 and #642 in sagetrac respectively. I have to admit that  I
> > > added #642 only two hours ago. I expect that I will spend some time on
> > > those tickets during Bug Day 3 (probably the 20th of September)
> >
> > Yep.  However, one thing I want to add is that my understanding
> > is that the GPL-only patches that make xgcd/gcd *vastly* faster
> > for large numbers might only work with gmp-4.2.1, at least
> > without a lot more work to port it, and if so we should wait
> > for that patch to be updated (especially if gmp-4.2.2 is merely
> > a build improvement over gmp-4.2.1).  This sort of thing is
> > just really cool:
> >
> > BEFORE the patch:
> > sage: k=2000000; n = QQ.random_element(2^k); m=QQ.random_element(2^k)
> > sage: time a=n+m
> > CPU times: user 5.69 s, sys: 0.24 s, total: 5.93 s
> >
> > AFTER the patch:
> > sage: k=2000000; n = QQ.random_element(2^k); m=QQ.random_element(2^k)
> > sage: sage: time a=n+m
> > CPU times: user 0.99 s, sys: 0.00 s, total: 0.99 s
> > sage: len(str(n))
> > 1204120
> >
> > Having fast arithmetic with million digits rational numbers can be really
> > important...
> >
>
> :)
>
> I consider the gmp update the tricky one. ecm should be straight
> forward. I was concerned about mpfr but according to the SPKG.txt in
> the current mpfr.spkg it is the "vanilla" distribution. I dropped in
> mpfr-2.3.0 in a couple sage installations for fun last week and "-
> testall" with the new release passed on all of them. So we might take
> care of ecm and mpfr soon and sort out the gmp issues later.
>
> > Presumably mpfr and ecm would both work with gmp-4.2.1 if we have
> > to stay with it for some amount of time.
> >
> >  -- William
>
> Cheersm
>
> Michael
>
>
> >
>


-- 
--09-F9-11-02-9D-74-E3-5B-D8-41-56-C5-63-56-88-C0--
Jason Worth Martin
Asst. Prof. of Mathematics
James Madison University
http://www.math.jmu.edu/~martin
phone: (+1) 540-568-5101
fax: (+1) 540-568-6857

"Ever my heart rises as we draw near the mountains.
There is good rock here." -- Gimli, son of Gloin

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to