#14711: Weak references in the coercion graph
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:  davidloeffler
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-5.13
      Component:  number fields      |   Resolution:
       Keywords:  memleak, number    |    Merged in:
  field, QuadraticField              |    Reviewers:
        Authors:  Simon King         |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  23f18f23c38b104364ba499b4d4db8683480b895
  u/SimonKing/ticket/14711           |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 FWIW, I have merged the current master branch into the branch from here. I
 had to resolve some merge conflicts. So, I hope I did right.

 Replying to [comment:138 darij]:
 > Any info what exactly slowed down the tableaux classes?

 I did not state (in comment:107) that tableaux classes became slower. All
 what I stated was: If you run the complete doc tests of Sage, then you
 will find that more parent creations occur with the branch than with
 vanilla Sage---and the tableaux classes show the largest relative
 increase.

 I don't even state that this is bad. Apparently there are doctests that
 would in vanilla Sage re-use tableaux that have been created in other
 doctests. This branch fixes a leak. Hence, some tableaux are garbage
 collected between doctests.

 '''IF''' the tableaux developers believe that tablaux should be more
 strongly cached, then they should properly implement a stronger cache,
 rather than relying on the memory leak that is fixed in this ticket.

--
Ticket URL: <http://trac.sagemath.org/ticket/14711#comment:140>
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/groups/opt_out.

Reply via email to