#5970: Weak references in Polynomial Ring cache
--------------------------------------------+-------------------------------
Reporter: SimonKing | Owner: malb
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-4.8
Component: commutative algebra | Keywords: polynomial ring
cache weak reference
Work_issues: regression for test_ec_leak? | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------------------------+-------------------------------
Changes (by SimonKing):
* status: needs_info => needs_review
Comment:
This is related with a couple of other tickets that aim at using weak
references:
* #11521 uses weak references for the cache of homsets.
* #715, which aims at using weak references for the coercion cache.
I think the whole project only makes sense if ''all three'' approaches are
simultaneously used. Two of them will not be enough.
Currently, I test on top of #11521 and some preliminary patch for #715,
whether it is now possible to simply use a `WeakValueDictionary`. If it
still doesn't then we should revive Martin's patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5970#comment:22>
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.