#11684: Obtaining coefficients of polynomials over finite fields is extremely 
slow
---------------------------+------------------------------------------------
   Reporter:  johanbosman  |          Owner:  tbd                       
       Type:  defect       |         Status:  needs_review              
   Priority:  major        |      Milestone:  sage-4.7.2                
  Component:  performance  |       Keywords:  polynomials, finite fields
Work_issues:               |       Upstream:  N/A                       
   Reviewer:               |         Author:  Johan Bosman              
     Merged:               |   Dependencies:  #11685                    
---------------------------+------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * dependencies:  => #11685
  * author:  => Johan Bosman


Comment:

 The uploaded patch improves the speed slightly:
 {{{
 sage: K.<a> = GF(5^3)
 sage: P = PolynomialRing(K, 'x')
 sage: f = P.random_element(100)
 sage: timeit('f.list()')
 125 loops, best of 3: 2.92 ms per loop
 }}}
 A real fix would of course be an NTL wrapper for finite fields, which is a
 huge project that may not get finished soon.

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