#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.8                                             
      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 nbruin):

 Replying to [comment:312 nbruin]:

 > I'm afraid the binary operation discovery of the coercion framework
 ''is'' a memory leak, so the proper solution is probably to give people
 good tools to avoid depending on it.

 #14058 is making good progress on resolving that issue and depends on this
 ticket to have effect.

 The speed regression reported in [comment:276] has been diagnosed and
 fixed on #13991. This conflicts with work on the much broader scoped
 #13605, but that ticket doesn't seem to be going in any time soon, so we
 should probably just push #13991 in before it. I think one can even
 consider merging #12313 without it.

 The speed regression reported on [comment:295] is minor and probably
 essential to some degree, because a lookup in a weakly keyed dict is
 fundamentally more expensive than in a normal dict. #13387 mitigates the
 effects to some extent, but again merging #12313 without it is acceptable
 in my opinion.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12313#comment:313>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to