#14711: Weak references in the coercion graph
-------------------------------------+-------------------------------------
Reporter: jpflori | Owner: davidloeffler
Type: defect | Status: needs_review
Priority: critical | Milestone: sage-6.2
Component: number fields | Resolution:
Keywords: memleak, number | Merged in:
field, QuadraticField | Reviewers: Nils Bruin, Jean-
Authors: Simon King, | Pierre Flori
Travis Scrimshaw, Jean-Pierre | Work issues:
Flori | Commit:
Report Upstream: N/A | f68550d17989e50adecc9c1d6634109095174003
Branch: | Stopgaps:
public/ticket/14711 |
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by nbruin):
My $0.02:
- Don't overengineer this special case (i.e., don't add new API)
- my preference would be to change the error messages to not include the
maps. Those errors look ugly even without the warning in there and maps
tend to print in a rather uninformative way anyway.
- toning down the warning to just an informative prefix `(map internal to
coercion system--copy before use)` would be fine with me
- string chopping seems a reasonable alternative
- it doesn't look like `TriangleModuleMorphism` is very time critical
anyway, so a copy of the map would be OK too. If it becomes a bottleneck,
it can be revisited.
--
Ticket URL: <http://trac.sagemath.org/ticket/14711#comment:251>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.