#11734: sage_wraps should only read the sources of wrapped functions when 
needed.
--------------------------+-------------------------------------------------
   Reporter:  SimonKing   |          Owner:  jason                              
       
       Type:  defect      |         Status:  needs_review                       
       
   Priority:  blocker     |      Milestone:  sage-4.7.2                         
       
  Component:  misc        |       Keywords:  sage_wraps sources gentoo 
startuptime sd32
Work_issues:              |       Upstream:  N/A                                
       
   Reviewer:  Simon King  |         Author:  Julian Rueth                       
       
     Merged:              |   Dependencies:                                     
       
--------------------------+-------------------------------------------------

Comment(by saraedum):

 Anyway, I would leave the doctest in; probably we should add a comment,
 describing this difference.
 Btw. I use dumbbench and a ''silenced'' version of startuptime to make
 sure that I'm not only seeing random speedups.

 The speedup is actually a little bit mysterious. It occurs once you remove
 a few ''sage_wraps'' decorators. Apparently python's ''inspect.ArgSpec''
 does something smart once it gets called very often (to speed up things?)
 which results in a slowdown in our case.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11734#comment:17>
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