#11717: sage.schemes.generic.scheme initialization
---------------------------+------------------------------------------------
   Reporter:  saraedum     |          Owner:  jason     
       Type:  enhancement  |         Status:  new       
   Priority:  minor        |      Milestone:  sage-4.7.2
  Component:  misc         |       Keywords:            
Work_issues:               |       Upstream:  N/A       
   Reviewer:               |         Author:            
     Merged:               |   Dependencies:            
---------------------------+------------------------------------------------
 I do not really understand why, but the initialization of
 ''sage.schemes.generic.scheme'' takes a bit to run:

 {{{
 $ time ./sage --startuptime|grep ' scheme:'
          scheme: 0.027 (spec)
 }}}

 The attached patch improves this:
 {{{
 $ time ./sage --startuptime|grep ' scheme:'
          scheme: 0.000 (spec)
 }}}

 The overall improvement is, of course, relatively small:
 {{{
 $ time for in in `seq 100`;do ./sage --startuptime>/dev/null;done
 real    1m28.181s
 }}}
 vs.
 {{{
 $ time for in in `seq 100`;do ./sage --startuptime>/dev/null;done
 real    1m27.629s
 }}}

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