#12313: Fix yet another memory leak caused by caching of coercion data
--------------------------------------------------------+-------------------
Reporter: SimonKing | Owner:
Type: defect | Status:
positive_review
Priority: major | Milestone:
sage-5.7
Component: memleak | Resolution:
Keywords: coercion weak dictionary | Work issues:
Report Upstream: N/A | Reviewers: Simon
King, Jean-Pierre Flori, John Perry, Nils Bruin
Authors: Simon King, Jean-Pierre Flori | Merged in:
Dependencies: #715, #11521, #12215, #13746, #13378 | Stopgaps:
--------------------------------------------------------+-------------------
Comment (by jdemeyer):
Another different regression:
{{{
def test(RR):
for d in range(-20,0):
if abs(RR(quadratic_L_function__numerical(1, d, 10000) -
quadratic_L_function__exact(1, d))) > 0.001:
print "Oops! We have a problem at d = ", d, " exact = ",
RR(quadratic_L_function__exact(1, d)), " numerical = ",
RR(quadratic_L_function__numerical(1, d))
time test(RealField(50))
}}}
From 3.0 seconds in sage-5.7.beta0 to 4.2 seconds with #12215 + #12313.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12313#comment:295>
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].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.