#13922: Avoid a regression in the creation of homsets
---------------------------+------------------------------------------------
Reporter: SimonKing | Owner: tbd
Type: defect | Status: new
Priority: critical | Milestone: sage-5.6
Component: performance | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies: #715
Stopgaps: |
---------------------------+------------------------------------------------
By #715 and related tickets, one observes a dramatic regression in the
following example.
{{{
sage: p = polar_plot(lambda t:
(100/(100+(t-pi/2)^8))*(2-sin(7*t)-cos(30*t)/2), -pi/4, 3*pi/2,
color="red",plot_points=1000)
}}}
First of all, it is very strange that the following homset is created
several thousands of times:
{{{
Set of Homomorphisms from Integer Ring to Real Interval Field with 64 bits
of precision
}}}
This also occurs ''without'' #715. Hence, enabling garbage collection
seems not to be to blame.
However, the ''creation time'' for the homsets increases clearly, which is
shown by prun.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13922>
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.