#11740: reading integers from a file takes quadratic time
--------------------------------+-------------------------------------------
   Reporter:  zimmerma          |          Owner:  AlexGhitza
       Type:  defect            |         Status:  new       
   Priority:  major             |      Milestone:  sage-4.7.2
  Component:  basic arithmetic  |       Keywords:            
Work_issues:                    |       Upstream:  N/A       
   Reviewer:                    |         Author:            
     Merged:                    |   Dependencies:            
--------------------------------+-------------------------------------------

Comment(by leif):

 I did not know Python doesn't support base-1 representation...

 Do we have direct conversion routines Python long <-> `mpz_t` / `mpn_t`?

 If we only changed `Integer(N)` to `Integer("N")`, "raw" integers wouldn't
 benefit, which have other advantages.

 (I wouldn't make the Python spkg depend on GMP/MPIR btw.; instead we might
 clone / adapt GMP's code in a patch to the Python spkg. No idea how easy /
 reasonable that is.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11740#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.

Reply via email to