#12142: Speed up Pari finite field operations
--------------------------------------------------+-------------------------
       Reporter:  johanbosman                     |         Owner:  AlexGhitza  
           Type:  enhancement                     |        Status:  needs_review
       Priority:  major                           |     Milestone:  sage-5.11   
      Component:  basic arithmetic                |    Resolution:              
       Keywords:                                  |   Work issues:              
Report Upstream:  N/A                             |     Reviewers:              
        Authors:  Peter Bruin                     |     Merged in:              
   Dependencies:  #14817, #14818, #14832, #14833  |      Stopgaps:              
--------------------------------------------------+-------------------------

Comment (by pbruin):

 Here are some timings for addition and multiplication in the various
 implementations:
 {{{
 x, y random elements of a field of p^n elements
 all times in microseconds

 Addition:  %timeit -c -r 1 x + y

 (p, n)     ntl/gf2e  givaro  pari_ffelt  pari_mod

 (2, 15)    0.85      0.45    0.95        15.1
 (2, 5000)  1.06      ----    1.84        3300

 (3, 10)    ----      0.47    1.14        12.5
 (3, 80)    ----      ----    1.75        44

 (251, 2)   ----      0.51    1.30        9.0

 Multiplication:  %timeit -c -r 1 x * y

 (p, n)     ntl/gf2e  givaro  pari_ffelt  pari_mod

 (2, 15)    1.11      0.61    1.51        22
 (2, 1000)  5.0       ----    61          1060

 (3, 10)    ----      0.57    4.0         19
 (3, 80)    ----      ----    36          99

 (251, 2)   ----      0.56    1.69        12.1

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12142#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to