#7795: MPolynomialRing segfaults when getting high exponents
-----------------------------------+----------------------------------------
   Reporter:  SimonKing            |       Owner:  malb                         
                           
       Type:  defect               |      Status:  needs_review                 
                           
   Priority:  major                |   Milestone:  sage-4.5.2                   
                           
  Component:  commutative algebra  |    Keywords:  MPolynomialRing_libsingular 
segfault with high exponents
     Author:  Martin Albrecht      |    Upstream:  N/A                          
                           
   Reviewer:                       |      Merged:                               
                           
Work_issues:  Fix doctests         |  
-----------------------------------+----------------------------------------

Comment(by SimonKing):

 Some random timings:

 Without the patch
 {{{
 sage: R.<x,y,z> = GF(3)[]
 sage: p = R.random_element()
 sage: p
 -y^2 + x*z - z^2 - z
 sage: timeit('q=p^100')
 125 loops, best of 3: 6.24 ms per loop
 }}}

 With the new patch and the same polynomial, I get:
 {{{
 sage: timeit('q=p^100')
 125 loops, best of 3: 2.99 ms per loop
 }}}

 So, this is already good news!

 Criticism: The patch still does not provide doctests showing that the
 problem is fixed. I am now running doctests, and if they pass, I'll try to
 add a proper doctest via reviewer patch.

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