#7351: optimize import of singular.py
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  was       
       Type:  enhancement  |      Status:  new       
   Priority:  major        |   Milestone:  sage-4.2.1
  Component:  interfaces   |    Keywords:            
Work_issues:               |      Author:            
   Reviewer:               |      Merged:            
---------------------------+------------------------------------------------
 {{{
 I'm using sage -startuptime.

 The singular interface also looks like a *major* culprit:

               sage.interfaces.singular: 0.329 (sage.rings.ideal)
                sage.structure.sequence: 0.000 (sage.interfaces.singular)

 Looking, I see that a *horrendously* time consuming function called
 "generate_docstring_dictionary()" is called whenever the file
 sage/interfaces/singular.py is imported.  This is completely pointless,
 and shouldn't happen until somebody actually tries to use the singular
 interface.  A few lines of code would immediately reduce the startup time
 of Sage by nearly a half second there.

 }}}

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