#11521: Memleak when resolving the action of Integers on an Elliptic Curve
------------------------+---------------------------------------------------
Reporter: jpflori | Owner: robertwb
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.8
Component: coercion | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by SimonKing):
I was told by Mike Hansen why weak references to integers and rationals do
not work.
I see three options:
#. Drop the support for `Hom(1,1)` (which I'd prefer)
#. Add a cdef'd attribute `__weakref__` to
`sage.structure.element.Element`, which would create an overhead for
garbage collection for elements, and also a memory overhead.
#. Use two category.homset caches in parallel: One (the default) that
uses weak references, and another one that uses "normal" references if
weak references fail.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11521#comment:38>
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.