#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 SimonKing):
Replying to [comment:15 saraedum]:
> I'm not sure if I misunderstand what you mean to say with
'significantly'
There is the "sage -startuptime" script. It prints a lot of data, but the
time for importing sage.all is most important, as much as I understood.
Without the patch, I get with sage-4.7.2.alpha2:
{{{
== Slowest (including children) ==
1.242 sage.all (None)
}}}
With the patch, I get:
== Slowest (including children) ==
1.133 sage.all (None)
}}}
However, these times are a little flaky. So, I don't know if we can call
it significant if the difference is 10%.
Concerning the additional test: It is a bit strange. It turned out that it
''does'' fail when I execute it on command line, but it does ''not'' fail
(even without your patch) when it is a doc test. Apparently, in a doc
test, Sage is able to find the function definition, which is impossible on
the command line.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11734#comment:16>
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.