#715: Parents probably not reclaimed due to too much caching
--------------------------------+-------------------------------------------
   Reporter:  robertwb          |          Owner:  somebody           
       Type:  defect            |         Status:  needs_work         
   Priority:  major             |      Milestone:  sage-4.8           
  Component:  coercion          |       Keywords:  weak cache coercion
Work_issues:  avoid regression  |       Upstream:  N/A                
   Reviewer:                    |         Author:  Simon King         
     Merged:                    |   Dependencies:  #9138, #11900      
--------------------------------+-------------------------------------------
Changes (by SimonKing):

  * work_issues:  => avoid regression


Comment:

 The flaky behaviour probably means that sometimes something gets garbage
 collected when it shouldn't.

 But why do you have the patch from #11521 applied?

 Note that with sage-5.0.prealpha0 + #11780 + the new patch from here, I
 get two tests with errors, namely
 {{{
         sage -t  --long -force_lib
 devel/sage/sage/structure/coerce_dict.pyx # 1 doctests failed
         sage -t  --long -force_lib devel/sage/sage/structure/coerce.pyx #
 5 doctests failed
 }}}
 However, the tests took rather long in total: 12100 seconds with the new
 patch versus 4569 seconds unpatched.

 I think the regression is not acceptable.

 Well, perhaps you are right and we should experiment with weak references
 on domain and codomain.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/715#comment:72>
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.

Reply via email to