#13922: Avoid a regression in the creation of homsets
-------------------------------+--------------------------------------------
       Reporter:  SimonKing    |         Owner:  tbd     
           Type:  defect       |        Status:  new     
       Priority:  critical     |     Milestone:  sage-5.6
      Component:  performance  |    Resolution:          
       Keywords:               |   Work issues:          
Report Upstream:  N/A          |     Reviewers:          
        Authors:               |     Merged in:          
   Dependencies:  #715         |      Stopgaps:          
-------------------------------+--------------------------------------------

Comment (by SimonKing):

 Replying to [comment:8 vbraun]:
 > About the caching, is the problem that the cache gets deleted too
 quickly?

 Have we been using weak references to cache homsets prior to #715?

 > Between two evaluations of the lambda there is nothing that holds a
 reference to the symbolic expression. So all coercion caches should be
 free to be garbage collected.

 Here is the problem:
 {{{
 QQ.gcd(3.14159,2*3.14159)
 }}}
 creates two times `Set of Homomorphisms from Integer Ring to Real Interval
 Field with 64 bits of precision in Category of euclidean domains`. So, no
 symbolics involved at this point.

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