#5338: Sage 3.2.2: speed regression/infinite loop for "K.<b> = QQ[a]"
------------------------+---------------------------------------------------
Reporter: mabshoff | Owner: tbd
Type: defect | Status: new
Priority: critical | Milestone: sage-4.2.1
Component: algebra | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
------------------------+---------------------------------------------------
Comment(by AlexGhitza):
It seems that {{{exactify}}} is not the culprit, it's just a bit slow:
{{{
----------------------------------------------------------------------
| Sage Version 4.2, Release Date: 2009-10-24 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: b = (sqrt(sqrt(2) + 1)/(sqrt(3)) - 1)^(1/3)
sage: c = QQbar(b)
sage: od = c._descr
sage: time od.exactify()
CPU times: user 102.89 s, sys: 0.17 s, total: 103.06 s
Wall time: 117.04 s
-13576/8180757*a^23 + 833411/13634595*a^20 - 6092092/13634595*a^17 +
2402147/4544865*a^14 + 16778234/4544865*a^11 - 5085581/504985*a^8 +
2414627/302991*a^5 - 1318781/504985*a^2 where a^24 - 36*a^21 + 240*a^18 -
144*a^15 - 2214*a^12 + 4320*a^9 - 2484*a^6 + 648*a^3 - 162 = 0 and a in
-0.4328720060607604? + 0.7497563076715000?*I
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5338#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---