On Jul 4, 2008, at 2:59 PM, Daryl Hammond wrote:

> David, I ran your two line program on Sage-3.0.3 and obtained:
>
> [EMAIL PROTECTED] ~]$ /home/daryl/sage-3.0.3/sage
> ----------------------------------------------------------------------
> | SAGE Version 3.0.3, Release Date: 2008-06-17                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
> sage: x=ZZ.random_element(2^10000000)
> sage: time y=x*x
> CPU times: user 0.44 s, sys: 0.02 s, total: 0.46 s
> Wall time: 0.47 s
> sage: quit
> Exiting SAGE (CPU time 0m0.49s, Wall time 0m55.21s).
> [EMAIL PROTECTED] ~]$
>
> This is similar to the results from sage-3.0.1.
>
> I originally noticed the longer CPU times under sage-3.0.3 under
> Fedora 9 and went back and installed the three prior SAGE releases to
> try to identify when the problem was introduced.  Your
> two line test works fine under sage-3.0.3, my code doesn't.
>
> I made two requested changes to sage-3.0.2 yesterday (install older
> package gmp-2.4.1.p14.spkg and remove 11 files from /local/lib).
> Could these changes be effecting your two line timing?

Hmmmm....... very peculiar......

Could you please try this on both your 3.0.1 and 3.0.2 builds:

sage: x = ZZ.random_element(2^2000000)
sage: y = ZZ.random_element(2^2000000)
sage: time z = x.xgcd(y)

david


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to