#864: Asymptotically slow pari <--> python long conversions
-------------------------+--------------------------------------------------
Reporter: craigcitro | Owner: craigcitro
Type: enhancement | Status: assigned
Priority: minor | Milestone: sage-3.2.2
Component: interfaces | Resolution:
Keywords: pari |
-------------------------+--------------------------------------------------
Comment (by mabshoff):
Hi Craig,
this has been open a while. The current timings from sage.math:
{{{
----------------------------------------------------------------------
| Sage Version 3.2.2.alpha1, Release Date: 2008-12-10 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: x = 10^100000
sage: time y = pari(x)
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s
sage: time z = Integer(y)
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s
sage: time u = int(y)
CPU times: user 0.48 s, sys: 0.00 s, total: 0.48 s
Wall time: 0.48 s
sage: time u = int(Integer(y))
CPU times: user 0.00 s, sys: 0.00 s, total: 0.00 s
Wall time: 0.00 s
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/864#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---