#11683: ell_curve_isogeny initialization
-------------------------------+--------------------------------------------
   Reporter:  saraedum         |          Owner:  cremona                       
             
       Type:  enhancement      |         Status:  new                           
             
   Priority:  minor            |      Milestone:  sage-4.7.2                    
             
  Component:  elliptic curves  |       Keywords:  startup, initialization       
             
Work_issues:                   |       Upstream:  Not yet reported upstream; 
Will do shortly.
   Reviewer:                   |         Author:                                
             
     Merged:                   |   Dependencies:                                
             
-------------------------------+--------------------------------------------
 The import of sage/schemes/elliptic_curves/ell_curve_isogeny.py (which
 happens on every startup of sage) takes a relatively big amount of time

 {{{
 $ time ./sage -startuptime|grep ell_curve_isogeny:
           ell_curve_isogeny: 0.133 (ell_field)

 real    0m0.994s
 user    0m0.810s
 sys     0m0.154s
 }}}

 Lazily computing the constants in this file helps a lot (see the attached
 patch):

 {{{
 $ time ./sage -startuptime|grep ell_curve_isogeny:
           ell_curve_isogeny: 0.001 (ell_field)

 real    0m0.849s
 user    0m0.672s
 sys     0m0.164s
 }}}

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