On Tue, 24 Oct 2006 20:21:40 -0500, Bill Hart <[EMAIL PROTECTED]> wrote:
> > Did you compile GMP with Pieck Gaudries "patch" for AMD 64 systems? > > If not, this will probably explain the timing difference. The system-wide "sage" on sage.math now has the patched version of GMP. It is also available as www/sage/packages/standard/gmp-4.2.1.p1.spkg and will be in the next version of SAGE. It does seem faster on a few random tests. E.g., GMP-4.2.1 no patch: sage: time n=factorial(2*10^6) CPU times: user 4.00 s, sys: 0.31 s, total: 4.30 s GMP-4.2.1.p1 -- patched sage: time n=factorial(10^6*2) CPU times: user 3.33 s, sys: 0.31 s, total: 3.65 s 64-bit MAGMA 2.13: sage: t = magma.cputime() sage: m = magma("Factorial(10^6*2)") sage: magma.cputime(t) 4.8600000000000003 Probably MAGMA is using their own algorithm here... -- William --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---