#2957: Singular multivariate polynomials are buggy on exponent overflow
------------------------------+---------------------------------------------
 Reporter:  cwitty            |        Owner:  somebody  
     Type:  defect            |       Status:  new       
 Priority:  major             |    Milestone:  sage-3.4.1
Component:  basic arithmetic  |   Resolution:            
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by malb):

 I'm going to upload a fix in a sec, but it comes at a cost:

 == Before ==
 {{{
 sage: P.<x,y> = PolynomialRing(QQ)
 sage: %timeit x*y
 1000000 loops, best of 3: 288 ns per loop

 sage: f = x + 1
 sage: g = y + 1
 sage: %timeit f*g
 1000000 loops, best of 3: 462 ns per loop
 }}}

 == After ==
 {{{
 sage: P.<x,y> = PolynomialRing(QQ)
 sage: %timeit x*y
 1000000 loops, best of 3: 314 ns per loop

 sage: f = x + 1
 sage: g = y + 1
 sage: %timeit f*g
 1000000 loops, best of 3: 501 ns per loop
 }}}

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

Reply via email to