#11732: faster import of sage.interacts.all
---------------------------+------------------------------------------------
   Reporter:  saraedum     |          Owner:  itolkov, jason
       Type:  enhancement  |         Status:  new           
   Priority:  minor        |      Milestone:  sage-4.7.2    
  Component:  interact     |       Keywords:                
Work_issues:               |       Upstream:  N/A           
   Reviewer:               |         Author:  Julian RĂ¼th   
     Merged:               |   Dependencies:                
---------------------------+------------------------------------------------
 ''sage.interact.all'' imports functions which have controls from
 ''sagenb.notebook.interact'' as default parameters. These take some time
 to initialize. The attached patch improves this situation:

 {{{
 $ dumbbench -- ./sage --startuptime
 Ran 23 iterations (3 outliers).
 Rounded run time per iteration: 1.001e+00 +/- 2.2e-02 (2.2%)
 }}}

 vs.

 {{{
 $ dumbbench -- ./sage --startuptime
 Ran 24 iterations (4 outliers).
 Rounded run time per iteration: 9.56e-01 +/- 1.7e-02 (1.8%)
 }}}

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